def METHOD_NAME(noise_model, num_keys=1):
    assert isinstance(noise_model, qibo.noise.NoiseModel)
    errorkeys = noise_model.errors.keys()
    assert len(errorkeys) == num_keys
    error = list(noise_model.errors.values())[0][0][1]
    assert isinstance(error, qibo.noise.PauliError)
    assert len(error.options) == 3 and np.sum(pair[1] for pair in error.options) < 1