<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hasApplication(self, app):
 """Returns True if app is among the loaded modules. @param app: Module name. @return: Boolean """

        if self._applications is None:
            self._initApplicationList()
        return app in self._applications