code: def in_tree(self, cmd_args):
          
          if not cmd_args:
              return True
          tree = self
          try:
              for datum in cmd_args:
                  tree = tree.get_child(datum)
          except ValueError:
              return False
          return True
docs: if a command is in the tree