code: def load(fp, hex=False):
      """Load a geometry from an open file.
  
      Raises
      ------
      GEOSException, UnicodeDecodeError
          If the given file contains an invalid geometry.
      """
      data = fp.read()
      return loads(data, hex=hex)
  
imports: import shapely
label_desc: Use image node_id 2 for calling a global function with example usage: load(fp, hex) and returns: loads