Python Detect If String Is In List