class_docstr: Models a node within a search space.
  
  Nodes can be internal or terminal, and may or may not be choices.
  A choice is a node that models a discrete choice out of k > 1 options.
class_docstr_tok: ["Models","a","node","within","a","search","space",".","Nodes","can","be","internal","or","terminal",",","and","may","or","may","not","be","choices",".","A","choice","is","a","node","that","models","a","discrete","choice","out","of","k",">","1","options","."]
docstr: Returns whether or not this Node is terminal.
  
  A terminal node has a non-dictionary value (numeric, list or None).
docstr_tok: ["Returns","whether","or","not","this","Node","is","terminal",".","A","terminal","node","has","a","non-dictionary","value","(","numeric",",","list","or","None",")","."]
code: def terminal(self):
      """Returns whether or not this Node is terminal.
  
      A terminal node has a non-dictionary value (numeric, list or None).
      """
      if self.value:
          return not type(self.value[0]) == type(self)
      return True
  
imports: import functools
  import itertools
  import collections
  import math
label_desc: Use image node_id 4 for calling the Node obj's underlying member method code with example usage: obj.terminal() and returns: True, unknown