docstr: Block special attributes/methods from being set in a newly created
  object, to prevent user-controlled methods from being called during
  deserialization
docstr_tok: ["Block","special","attributes\/methods","from","being","set","in","a","newly","created","object",",","to","prevent","user-controlled","methods","from","being","called","during","deserialization"]
code: def check_state_key(self, key):
      """Block special attributes/methods from being set in a newly created
      object, to prevent user-controlled methods from being called during
      deserialization"""
      if self.get_state_keys_blacklist_regexp().match(key):
          raise ConstructorError(
              None,
              None,
              "blacklisted key '%s' in instance state found" % (key,),
              None,
          )
  
imports: from .error import *
  from .nodes import *
  import collections.abc, datetime, base64, binascii, re, sys, types
label_desc: Use image node_id 3 for calling the BaseConstructor obj's underlying member method code with example usage: obj.check_state_key(key) without return types