catCas.py
def validate_professor():
    """
    check to see if professor id is in the professor table
    INPUT: none
    OUTPUT: return False if the id does not exist
            return True otherwise
    """
    cas = CAS()
    username = cas.username
    professors = gbmodel.professors()
    found_professors = professors.get_professor(username)
    if not found_professors:
        return False
    return found_professors

    check to see if professor id is in the professor table
    INPUT: none
    OUTPUT: return False if the id does not exist
            return True otherwise
    
check to see if professor id is in the professor table
INPUT: none
OUTPUT: return False if the id does not exist
return True otherwise
check to see if professor id is in the professor table INPUT : none OUTPUT : return False if the id does not exist return True otherwise
def validate_professor():
    cas = CAS()
    username = cas.username
    professors = gbmodel.professors()
    found_professors = professors.get_professor(username)
    if not found_professors:
        return False
    return found_professors
def validate_professor ( ) : cas = CAS ( ) username = cas . username professors = gbmodel . professors ( ) found_professors = professors . get_professor ( username ) if not found_professors : return False return found_professors
check to see if professor id is in the professor table
INPUT: none
OUTPUT: return False if the id does not exist
return True otherwise
check to see if professor id is in the professor table INPUT : none OUTPUT : return False if the id does not exist return True otherwise
"""
    check to see if professor id is in the professor table
    INPUT: none
    OUTPUT: return False if the id does not exist
            return True otherwise
    """