comefrom: <qiyuangong>093_Restore_IP_Addresses_1.py
code: def isNum( prefix):
      curr = int(prefix)
      if curr > 255:
          return False
      if len(prefix) == 1:
          return True
      if prefix[0] == '0':
          return False
      return True
masked: def sample_funcname ( var_0 ) :
      var_2 = int ( var_0 )
      if var_2 > 255 :
          return False
      if len ( var_0 ) == 1 :
          return True
      if var_0 [ 0 ] == '0' :
          return False
      return True
  