comefrom: <qiyuangong>422_Valid_Word_Square_1.py
code: def validWordSquare( words):
      if words is None or len(words) == 0:
          return True
      ls = len(words)
      for i in range(ls):
          for j in range(1, len(words[i])):
              if j >= ls:
                  return False
              if i >= len(words[j]):
                  return False
              if words[i][j] != words[j][i]:
                  return False
      return True
masked: def sample_funcname ( var_0 ) :
      if var_0 is None or len ( var_0 ) == 0 :
          return True
      var_1 = len ( var_0 )
      for var_2 in range ( var_1 ) :
          for var_3 in range ( 1 , len ( var_0 [ var_2 ] ) ) :
              if var_3 >= var_1 :
                  return False
              if var_2 >= len ( var_0 [ var_3 ] ) :
                  return False
              if var_0 [ var_2 ] [ var_3 ] != var_0 [ var_3 ] [ var_2 ] :
                  return False
      return True
  