Check If Object Key Contains String Python