code: def check_diagonals(order, pos):
      current_row = len(order)
  
      for i in range(current_row):
          if (i - order[i]) == (current_row - pos):
              return False
          if (i + order[i]) == (current_row + pos):
              return False
  
      return True
  
label_desc: Use image node_id 3 for calling a global function with example usage: check_diagonals(order, pos) and returns: True, False, False