code: def test_invert():
      assert not (~Always())()
      assert ~Never()()
  
      c = ~Condition(lambda: False)
      assert c()
  
file_path: catboost/contrib/python/prompt-toolkit/py3/tests/test_filter.py
imports: from __future__ import annotations
  import pytest
  from prompt_toolkit.filters import Always, Condition, Filter, Never, to_filter
  from prompt_toolkit.filters.base import _AndList, _OrList
label_desc: Use image node_id 3 for calling a global function with example usage: test_invert() without return types