code: def load(source, triples=False, cls=PENMANCodec, **kwargs):
      
      decode = cls(**kwargs).iterdecode
      if hasattr(source, 'read'):
          return list(decode(source.read()))
      else:
          with open(source) as fh:
              return list(decode(fh.read()))
docs: Deserialize a list of PENMAN-encoded graphs from *source*.
  
      Args:
          source: a filename or file-like object to read from
          triples: if True, read graphs as triples instead of as PENMAN
          cls: serialization codec class
          kwargs: keyword arguments passed to the constructor of *cls*
      Returns:
          a list of Graph objects