code: def test_rng(self):
      def f(scope):
          self.assertTrue(scope.has_rng("params"))
          self.assertFalse(scope.has_rng("dropout"))
          rng = scope.make_rng("params")
          self.assertTrue(
              np.all(
                  rng == LazyRng.create(random.key(0), 1).as_jax_rng()
              )
          )
  
      init(f)(random.key(0))
  
imports: import jax
  import numpy
  from absl.testing import absltest
  from jax import numpy
  from jax import random
  from flax import errors
  from flax.configurations import temp_flip_flag
  from flax.core import Scope, apply, freeze, init, lazy_init, nn, scope
  from flax.core.scope import LazyRng
label_desc: Use image node_id 1 for calling the ScopeTest obj's underlying member method code with example usage: obj.test_rng() without return types