input: Write a python function to check if a string contains any special character.
  assert hasSpecialChar("HelloWorld!") == True
  assert hasSpecialChar("HelloWorld") == False
  assert hasSpecialChar("123#456") == True
output: def hasSpecialChar(s):
      return any(not c.isalnum() for c in s)