def to_mask(self, data, view=None):
        result = self._parsed.evaluate(data)
        if view is not None:
            result = result[view]
        return result
Calculate the new mask by evaluating the dereferenced command
dataset/ETHPy150Open glue-viz/glue/glue/core/parse.py/ParsedSubsetState.to_mask