Set statuses from a dictionary of format ``{name: status}``

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