def METHOD_NAME(scope_to_check, *, session: "Session"):
    """ check to see if scope exists.
    :param scope: the scope to check.
    :param session: The database session in use.
    :returns: True or false
    """
    return True if session.query(models.Scope).filter_by(scope=scope_to_check).first() else False