code: def valid_boundary(x, with_score=True):
      num = len(x)
      if num < 8:
          return False
      if num % 2 == 0 and (not with_score):
          return True
      if num % 2 == 1 and with_score:
          return True
  
      return False
  
label_desc: Use image node_id 6 for calling a global function with example usage: valid_boundary(x, with_score) and returns: False, False, True, True