'Returns a list of all installed modules that contain models.'

def get_apps(self):

    self._populate()
    apps = self.app_store.items()
    if (self.available_apps is not None):
        apps = [elt for elt in apps if (self._label_for(elt[0]) in self.available_apps)]
    apps = sorted(apps, key=(lambda elt: elt[1]))
    return [elt[0] for elt in apps]
