code: def common_validations(sf):
      assert np.array_equal(expected_classes, sf.classes_)
  
file_path: fairlearn/test/unit/metrics/test_group_feature.py
imports: import numpy
  import pandas
  import pytest
  import fairlearn.metrics
label_desc: Use image node_id 1 for calling a global function with example usage: common_validations(sf) without return types