Python Check If A String Contains Whitespace