docstr: get list of upper bounds
docstr_tok: ["get","list","of","upper","bounds"]
code: def __upper(self):
      "get list of upper bounds"
      n = (self.n,) if not hasattr(self.n, "__len__") else self.n
      xub = (
          (self.xub,) if not hasattr(self.xub, "__len__") else self.xub
      )
      return list(flatten(i * [j] for i, j in zip(n, xub)))
  
imports: from mystic.tools import flatten
label_desc: Use image node_id 4 for calling the Bounds obj's underlying member method code with example usage: obj.__upper() and returns: list