code: def test_two_class_fraczero_high(valid=False):
      trace = 1.8
      frac_zero_noise_rates = 0.75
      nm = noise_generation.generate_noise_matrix_from_trace(
          K=2,
          trace=trace,
          valid_noise_matrix=valid,
          frac_zero_noise_rates=frac_zero_noise_rates,
      )
      assert np.any(nm == 0)  # Make sure there is a zero noise rate.
      assert abs(trace - np.trace(nm) < 1e-2)
  
imports: import numpy
  from cleanlab.benchmarking import noise_generation
  import pytest
label_desc: Use image node_id 15 for calling a global function with example usage: test_two_class_fraczero_high(valid) without return types