input: Write a function to check if a string contains any whitespace characters.
  assert hasWhitespace("Hello World") == True
  assert hasWhitespace("NoSpacesHere") == False
  assert hasWhitespace(" ") == True
output: def hasWhitespace(s):
      return any(c.isspace() for c in s)