class_docstr: Provides functionality to topologically sort a graph of hashable nodes
code: def __bool__(self):
      return self.is_active()
  
file_path: catboost/contrib/tools/python3/src/Lib/graphlib.py
imports: from types import GenericAlias
label_desc: Use image node_id 7 for calling the TopologicalSorter obj's underlying member method code with example usage: obj.__bool__() and returns: self