Python Check If Object With Value Exists In List