code: def get_benchmark_type(benchmark_name):
      for benchmark_type in BenchmarkType:
          if benchmark_type.value.lower() in benchmark_name.lower():
              return benchmark_type
      else:
          raise NotImplementedError(
              f"Couldn't find matching benchmarkType for {benchmark_name} "
          )
  
imports: import json
  import os
  import pickle
  import re
  from datetime import datetime
  from enum import Enum
  from itertools import product
  from utils import seconds_to_ms
  from benchmarks.constants import DEFAULT_NUMBER_OF_ENGINES
label_desc: Use image node_id 1 for calling a global function with example usage: get_benchmark_type(benchmark_name) and returns: benchmark_type