async def is_public(self, app_dir): app_json = File.find_app_json(path=w5_apps_path, app_dir=app_dir) app_json_load = json.loads(app_json) if "is_public" in app_json_load: return 1, app_json_load["is_public"] return 0, False
async def is_identification(self, app_dir): app_json = File.find_app_json(path=w5_apps_path, app_dir=app_dir) app_json_load = json.loads(app_json) if "identification" in app_json_load: if app_json_load["identification"] == "w5soar": return True return False