shouldn't this be `and`?  if we don't have `self.context.dataset` then second disjunct will raise an `AttributeError`.