code: def set_object_status(self, statusdict):
          
          for name, value in statusdict.items():
              getattr(self.system, name).status = value
          return True
docs: Set statuses from a dictionary of format ``{name: status}``