Python Check If Item Is In Dictionary