code: def search_clang_format():
      base = "clang-format"
      versions = [
          "10",
          "12",
      ]  # Use clang-format-10 or 12 for ubuntu 20.04
      for c in [base + "-{}".format(v) for v in versions]:
          clang = which(c)
          if clang is not None:
              return clang
      raise ValueError("Not found: clang-format-12")
  
imports: import os
  import subprocess
label_desc: Use image node_id 3 for calling a global function with example usage: search_clang_format() and returns: clang