<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def updateContextImage(self, contextpar):
 """ Reset the name of the context image to `None` if parameter ``context`` is `False`. """

        self.createContext = contextpar
        if not contextpar:
            log.info('No context image will be created for %s' %
                     self._filename)
            self.outputNames['outContext'] = None