code: def find_links(element, fmt):
      # traverse over the collection(s) to find all the links in T's
      if element is None:
          pass
      elif isinstance(element, T):
          rendered_link = fmt.link(element, checking=True)
          if rendered_link:
              yield (element.link, rendered_link)
      elif isinstance(element, list):
          for sub in element:
              yield from find_links(sub, fmt)
      elif isinstance(element, Algorithm):
          for sub in element.columns.values():
              yield from find_links(sub, fmt)
      else:
          raise ValueError(
              f"unsupported element in link finding {element!r}"
          )
  
imports: import abc
  import argparse
  import contextlib
  import difflib
  import enum
  import glob
  import itertools
  import json
  import nbformat
  import os.path
  import re
  import subprocess
  import sys
  import textwrap
label_desc: Use image node_id 1 for calling a global function with example usage: find_links(element, fmt) without return types