def check_valid_role(role):
    """
    Checks if the role is valid, return true if it is, and false otherwise.
    """
    if role == 'patient' or role == 'administrator' or role == 'physician' or role == 'radiologist' or role == 'nurse' or role == 'technical support':
        return True
    else:
        return False