Python Regex Check If Substring Exists