code: def is_whitespace(char):
      """Checks whether `chars` is a whitespace character."""
      # \t, \n, and \r are technically contorl characters but we treat them
      # as whitespace since they are generally considered as such.
      return (
          (char == " ")
          or (char == "\t")
          or (char == "\n")
          or (char == "\r")
          or (unicodedata.category(char) == "Zs")
      )
  
imports: import unicodedata
label_desc: Use image node_id 1 for calling a global function with example usage: is_whitespace(char) and returns: unknown