code: def export_check(self, method_name):
      if len(self.export_list) != 1:
          if len(self.export_list) == 0:
              # Is there a proper finalizer that can be called instead??
              # Need help from a python Guru
              self.export_list = [self.export]
          else:
              raise InvalidMethodInvocation(
                  "export list length is not 1  use the set/get_%s version of method with key"
                  % (method_name,)
              )
  
imports: from collections import OrderedDict
  from typing import Any, List, Optional, Union
label_desc: Use image node_id 2 for calling the PyTextConfig obj's underlying member method code with example usage: obj.export_check(method_name) without return types