Python Check If String Is Not Alphanumeric