@classmethod
    def getFeatureFor(cls, clazz):
        """Gets the instance for the given Feature class,
        e.g DummyFeature.__class__.
        """
        for f in cls._allFeatures.getItemIds():
            if f.__class__ <= clazz:
                return f
        return None
dataset/ETHPy150Open rwl/muntjac/muntjac/demo/sampler/SamplerApplication.py/SamplerApplication.getFeatureFor/operator `==` -> `<=`