<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def before_first_request(self, fn):
 """ Registers a function to be run before the first request to this instance of the application. The function will be called without any arguments and its return value is ignored. """

        self._defer(lambda app: app.before_first_request(fn))
        return fn