code: def find_implementations(interface, recurse, abstract, result):
      """Find implementations of an interface or of one of its descendants and
      extend result with the classes found."""
      for item in MetaComponent.implementations:
          if item["interface"] == interface and (
              abstract or not item["abstract"]
          ):
              extend_unique(result, [item["class"]])
  
      if recurse:
          subinterfaces = interface.__subclasses__()
          if subinterfaces:
              for i in subinterfaces:
                  find_implementations(i, recurse, abstract, result)
  
file_path: TimeSide/timeside/core/component.py
label_desc: Use image node_id 6 for calling a global function with example usage: find_implementations(interface, recurse, abstract, result) without return types