Check If Substring Exists In String Python