Checking If Substring Is In String Python