def METHOD_NAME(self, kwargs):
    super(SetTDTMHandlerStatus, self).METHOD_NAME(kwargs)
    self.options["handlers"] = process_list_arg(self.options.get("handlers", []))
    self.options["active"] = process_bool_arg(self.options.get("active") or False)
    has_restore_file = (
        self.options.get("restore_file") is not False
        and self.options.get("restore_file") != "False"
    )
    should_restore = process_bool_arg(self.options.get("restore", False))
    if should_restore:
        if not has_restore_file:
            raise TaskOptionsError("Restoring requires a restore file name")
        self.should_restore = True
    else:
        self.should_save = has_restore_file