docs: def base_variables(self):
          """A mapping from the base_variable names to the variables"""
          if isinstance(self.data, InteractiveList):
              return dict(chain(*map(
                  lambda arr: six.iteritems(arr.psy.base_variables),
                  self.data)))
          else:
              return self.data.psy.base_variables