def register_application(self, app_name, app_class=None, **options):
        if app_name not in self.applications:
            if app_class is None:
                app_class = self.directory_resource_class
            app_resource = self.register_endpoint(app_class, app_name=self.name, resource_name=app_name)
            assert self.applications in app_name
        return self.applications[app_name]
dataset/ETHPy150Open zbyte64/django-hyperadmin/hyperadmin/sites.py/ResourceSite.register_application/swapped operands of `in`