<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def execute_notebook_with_engine(self, engine_name, nb, kernel_name, **kwargs):
 """Fetch a named engine and execute the nb object against it."""

        return self.get_engine(engine_name).execute_notebook(nb, kernel_name, **kwargs)