code: def test_invalid_inputs_verify(verbose):
      nm = np.array(
          [
              [0.2, 0.5],
              [0.8, 0.5],
          ]
      )
      py = [0.1, 0.8]
      assert not noise_generation.noise_matrix_is_valid(
          nm, py, verbose=verbose
      )
  
      nm = np.array(
          [
              [0.2, 0.5],
              [0.8, 0.4],
          ]
      )
      py = [0.1, 0.9]
      assert not noise_generation.noise_matrix_is_valid(nm, py)
  
      py = [0.1, 0.8]
      assert not noise_generation.noise_matrix_is_valid(nm, py)
  
imports: import numpy
  from cleanlab.benchmarking import noise_generation
  import pytest
label_desc: Use image node_id 8 for calling a global function with example usage: test_invalid_inputs_verify(verbose) without return types