code: def wrap_algo(algo, ver):
      # Ignore some algos if using older DAAL
      if ver < (2020, 0) and any(
          x in algo
          for x in ["adaboost", "stump", "brownboost", "logitboost"]
      ):
          return False
      # ignore deprecated version of stump
      if "stump" in algo and not any(
          x in algo
          for x in ["stump::regression", "stump::classification"]
      ):
          return False
      # other deprecated algos
      if any(x in algo for x in ["boosting", "weak_learner"]):
          return False
      # ignore unneeded stuff
      if any(
          algo.endswith(x)
          for x in [
              "daal",
              "algorithms",
              "algorithms::linear_model::prediction",
              "algorithms::linear_model::training",
              "algorithms::classification::prediction",
              "algorithms::classification::training",
              "algorithms::tree_utils",
              "algorithms::tree_utils::classification",
              "algorithms::tree_utils::regression",
              "algorithms::internal",
          ]
      ):
          return False
      # ignore unsupported algos
      if any(x in algo for x in ["quality_metric", "::interface"]):
          return False
  
      return True
  
label_desc: Use image node_id 1 for calling a global function with example usage: wrap_algo(algo, ver) and returns: True, False, False, False, False, False