code: def hasApplication(self, app):
          
          if self._applications is None:
              self._initApplicationList()
          return app in self._applications
docs: Returns True if app is among the loaded modules.
          
          @param app: Module name.
          @return:    Boolean