code: def test_conditional():
      sdm = SampleDistortionMetric(
          sd,
          sd_distorted,
          unprivileged_groups=unpriv,
          privileged_groups=priv,
      )
      assert sdm.total_manhattan_distance(privileged=False) == 3
  
file_path: AIF360/tests/test_sample_distortion_metric.py
imports: import numpy
  import pandas
  from scipy.spatial.distance import cdist
  from aif360.datasets import StructuredDataset
  from aif360.metrics import SampleDistortionMetric
label_desc: Use image node_id 4 for calling a global function with example usage: test_conditional() without return types