code: def get_engine(self, name=None):
          
          engine = self._engines.get(name)
          if not engine:
              raise PapermillException("No engine named '{}' found".format(name))
          return engine
docs: Retrieves an engine by name.