Python Check If String Contains Any Substring Javascript