Wait, I might have found a ray of hope. One of the
comments says "you are always hated with one of them." If this is true, then I don't need to check quests, or status of living or dead NPCs; all I need to do is check the standingID to see if it is equal to 1 or FACTION_STANDING_LABEL1.
I really hope this is true!