code: def is_sorted(head):
      if not head:
          return True
      current = head
      while current.next:
          if current.val > current.next.val:
              return False
          current = current.next
      return True
  
label_desc: Use image node_id 1 for calling a global function with example usage: is_sorted(head) and returns: True, True, False