def is_node_for(self, obj):

        return isinstance(obj, Container)
Accept both booleans and CLIFilters as input and
dataset/ETHPy150Open enthought/envisage/envisage/developer/ui/view/application_browser_tree.py/ContainerTreeNode.is_node_for--crossover with--dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/filters/utils.py/to_simple_filter