Source code for semi_cr.core.lab.utils.qharbor.login

from qdrive.scopes import get_scopes

[docs] def check_user_exists(): """_summary_ -------------- Check if the user exists in the qdrive scopes Returns: -------------- bool: True if the user exists, False otherwise """ try: get_scopes() return True except Exception: return False