code: def check_results(obj, value):
      np.testing.assert_allclose(value, obj.result().numpy(), atol=1e-6)
  
file_path: addons/tensorflow_addons/metrics/tests/matthews_correlation_coefficient_test.py
imports: import tensorflow
  import numpy
  from tensorflow_addons.metrics import MatthewsCorrelationCoefficient
  from sklearn.metrics import matthews_corrcoef
label_desc: Use image node_id 2 for calling a global function with example usage: check_results(obj, value) without return types