code: def test_memoization(self):
      """
      Test the memoized property decorator on a class.
      """
  
      class Visualizer(object):
          @memoized
          def foo(self):
              return "bar"
  
      viz = Visualizer()
      assert not hasattr(viz, "_foo")
      assert viz.foo == "bar"
      assert viz._foo == "bar"
  
imports: from yellowbrick.utils.decorators import *
label_desc: Use image node_id 1 for calling the TestDecorators obj's underlying member method code with example usage: obj.test_memoization() and returns: str