Python Check If Value Is In Dictionary Entries