code: def set_value(obj, attrs, value, _copy=False):
      
      for attr in attrs:
          if _copy:
              value = copy(value)
          setattr(obj, attr, value)
docs: Allows set the same value to a list of attributes