結果 : how to check if string contains only whitespace python