code: def __setattr__(self, name, value):
      if not self.__dict__[AttrDict.IMMUTABLE]:
          if name in self.__dict__:
              self.__dict__[name] = value
          else:
              self[name] = value
      else:
          raise AttributeError(
              'Attempted to set "{}" to "{}", but AttrDict is immutable'.format(
                  name, value
              )
          )
  
file_path: dense-pose/detectron/utils/collections.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
label_desc: Use image node_id 3 for calling the AttrDict obj's underlying member method code with example usage: obj.__setattr__(name, value) without return types