Python Check If Any Characters In String