code: def assertReadOnly(self, qn, scope):
      self.assertIn(qn, scope.read)
      self.assertNotIn(qn, scope.modified)
  
imports: import unittest
  import gast
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import naming
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import qual_names
  from nvidia.dali._autograph.pyct import transformer
  from nvidia.dali._autograph.pyct.static_analysis import activity
  from nvidia.dali._autograph.pyct.static_analysis import annos
label_desc: Use image node_id 2 for calling the ScopeTest obj's underlying member method code with example usage: obj.assertReadOnly(qn, scope) without return types