code: def sanitize_bool(value) -> bool:
      if value is bool:
          return value
      elif isinstance(value, str):
          return value.lower() in ["true", "1", "t", "y", "yes", "1.0"]
      elif isinstance(value, float) or isinstance(value, int):
          return bool(value)
      return False
  
imports: from typing import Union, List, Tuple
  import os
  import time
  import pandas
  from numpy import isnan
  from tqdm.auto import tqdm
  from sweetviz.sv_types import NumWithPercent, FeatureToProcess, FeatureType
  import sweetviz.from_dython
  import sweetviz.series_analyzer
  import sweetviz.utils
  from sweetviz.graph_associations import GraphAssoc
  from sweetviz.graph_associations import CORRELATION_ERROR
  from sweetviz.graph_associations import CORRELATION_IDENTICAL
  from sweetviz.graph_legend import GraphLegend
  from sweetviz.config import config
  import sweetviz.comet_ml_logger
  import sweetviz.sv_html
  from sweetviz.feature_config import FeatureConfig
  import webbrowser
  from sweetviz.config import config
label_desc: Use image node_id 6 for calling the DataframeReport obj's underlying member method code with example usage: obj.sanitize_bool(value) and returns: False, value, unknown, bool