code: def Process(self, parser_mediator, cache=None, database=None, **kwargs):
      
      if database is None:
        raise ValueError('Invalid database.')
  
      # This will raise if unhandled keyword arguments are passed.
      super(ESEDBPlugin, self).Process(parser_mediator)
  
      self.GetEntries(
          parser_mediator, cache=cache, database=database, **kwargs)
docs: Determines if this is the appropriate plugin for the database.
  
      Args:
        parser_mediator (ParserMediator): mediates interactions between parsers
            and other components, such as storage and dfvfs.
        cache (Optional[ESEDBCache]): cache.
        database (Optional[pyesedb.file]): ESE database.
  
      Raises:
        ValueError: If the database attribute is not valid.