def _get_filter_condition(self, item, key, value):
        try:
            key, tester = key.split('__', 1)
        except __HOLE__:
            tester = None
        if tester:
            if callable(getattr(getattr(item, key), tester)):
                condition = getattr(getattr(item, key), tester)(value)
            else:
                condition = getattr(getattr(item, key), tester) == value
        else:
            condition = getattr(item, key) == value
        return condition
dataset/ETHPy150Open letolab/airy/airy/core/web.py/ConnectionSet._get_filter_condition