def _filter(self, include_private, filter):
        childnodes = { }
        for name in dir(self.node.__class__):
            if not name.startswith('__') or name != 'parent':
                if include_private or not name.startswith('_'):
                    attr = getattr(self.node, name)
                    if filter(attr):
                        childnodes[name] = attr
        return childnodes
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py/Inspector._filter/operator `and` -> `or`