def METHOD_NAME(student):
    supervisor = senior_supervisors.filter(student=student).first()
    if supervisor:
        return '%s <%s>' % (supervisor.supervisor.name(), supervisor.supervisor.email())
    else:
        supervisor = potential_supervisors.filter(student=student).first()
        if supervisor:
            return '%s (potential) <%s>' % (supervisor.supervisor.name(), supervisor.supervisor.email())
        else:
            return 'None'