@classmethod
    def type(cls, value):
        return cls(type={'value': value})
It should check some attributes to see if 
dataset/ETHPy150Open ooici/elasticpy/elasticpy/filter.py/ElasticFilter.type--crossover with--dataset/ETHPy150Open maraujop/django-rules/django_rules/tests/models.py/Dummy.isDisposable