def __contains__(self, val):
        activeMaps = [name for name in self._properties if getattr(self, '%sMap'%name) is not None]
        return val in activeMaps
dataset/ETHPy150Open simpeg/simpeg/SimPEG/PropMaps.py/PropMap.__contains__/original