code: def create_liar(liar_type):
      if liar_type is None or liar_type.lower == "none":
          return None
      liar_classes = {
          "best": BestLiar,
          "worst": WorstLiar,
          "mean": MeanLiar,
      }
      return liar_classes[liar_type.lower()]()
  
imports: from __future__ import annotations
  from collections import defaultdict
  import logging
  import math
  from typing import Any, NamedTuple
  import numpy
  from scipy.special import erf
  from typing_extensions import Literal
  import nni
  from nni.common.hpo_utils import Deduplicator, OptimizeMode, format_search_space, deformat_parameters, format_parameters
  from nni.tuner import Tuner
  from nni.utils import extract_scalar_reward
  from .None import random_tuner
label_desc: Use image node_id 3 for calling a global function with example usage: create_liar(liar_type) and returns: liar_classes, None