code: def normalize_table_name(name):
      
      if not isinstance(name, six.string_types):
          raise ValueError("Invalid table name: %r" % name)
      name = name.strip()[:63]
      if not len(name):
          raise ValueError("Invalid table name: %r" % name)
      return name
docs: Check if the table name is obviously invalid.