code: def test_variable_is_mutable(self):
      def f(scope, should_be_mutable):
          test = scope.variable("state", "test", lambda: 1)
          self.assertEqual(test.is_mutable(), should_be_mutable)
  
      _, variables = apply(f, mutable="state")({}, True)
      apply(f, mutable=False)(variables, False)
  
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 11 for calling the ScopeTest obj's underlying member method code with example usage: obj.test_variable_is_mutable() without return types