Authorization Fail

public static bool IsAuthorized (int id, string username)  
{
    if (GetPerson(id) != null) {
        return (username == GetPerson(id).User) 
            ? true 
            : false;
    }

    return false;
}

Yeah, I know.