def is_dba(user):
    """
    A simple little function to find out if the supplied user is a
    project tracker dba.
    """
    dba = False
    if hasattr(user, "employee"):
        dba = True if user.employee.role == "dba" else False
    return dba