docs: def check_valid(line0, line1):
      """
      Check :func:`word_embedding_loader.loader.glove.check_valid` for the API.
      """
      data0 = line0.split(b' ')
      if len(data0) != 2:
          return False
      # check if data0 is int values
      try:
          map(int, data0)
          _parse_line(line1, float)
      except:
          return False
      return True