Python Check String For List Of Substrings