Python Check If Character Exists In String