<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_enable(self, name, vrid, value=False, run=True):
 """Set the enable property of the vrrp Args: name (string):
 The interface to configure. vrid (integer):
 The vrid number for the vrrp to be managed. value (boolean):
 True to enable the vrrp, False to disable. run (boolean):
 True to execute the command, False to return a string with the formatted command. Returns: If run is True, returns True if the command executed successfully, error if failure If run is False, returns the formatted command string which can be passed to the node """


        if value is False:
            cmd = "vrrp %d shutdown" % vrid
        elif value is True:
            cmd = "no vrrp %d shutdown" % vrid
        else:
            raise ValueError("vrrp property 'enable' must be "
                             "True or False")

        # Run the command if requested
        if run:
            result = self.configure_interface(name, cmd)
            # And verify the command succeeded
            if result is False:
                return self.error
            return result

        # Otherwise return the formatted command
        return cmd