Javascript Check If String Contains One Of Array In Python