How To Check If A String Contains Multiple Substring In Python