code: def test_cli_filter():
      c1 = Condition(lambda cli: True)
      assert isinstance(c1, CLIFilter)
      assert not isinstance(c1, SimpleFilter)
  
      c2 = Condition(lambda: True)
      assert not isinstance(c2, CLIFilter)
      assert isinstance(c2, SimpleFilter)
  
      c3 = c1 | c2
      assert not isinstance(c3, CLIFilter)
      assert not isinstance(c3, SimpleFilter)
  
      c4 = Condition(lambda cli: True)
      c5 = Condition(lambda cli: True)
      c6 = c4 & c5
      c7 = c4 | c5
      assert isinstance(c6, CLIFilter)
      assert isinstance(c7, CLIFilter)
      assert not isinstance(c6, SimpleFilter)
      assert not isinstance(c7, SimpleFilter)
  
      c8 = Condition(lambda *args: True)
      assert isinstance(c8, CLIFilter)
      assert isinstance(c8, SimpleFilter)
  
file_path: catboost/contrib/python/prompt-toolkit/py2/tests/test_filter.py
imports: from __future__ import unicode_literals
  from prompt_toolkit.filters import Condition, Never, Always, Filter
  from prompt_toolkit.filters.types import CLIFilter, SimpleFilter
  from prompt_toolkit.filters.utils import to_cli_filter, to_simple_filter
  from prompt_toolkit.filters.cli import HasArg, HasFocus, HasSelection
  import pytest
label_desc: Use image node_id 10 for calling a global function with example usage: test_cli_filter() without return types