Checking to see if Key Exists

Checking to see which if any key exists in the given message seeing as
how sometimes the sender is missing and other times there is a creator.