<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setEnable(self, status, wanInterfaceId=1, timeout=1):
 """Set enable status for a WAN interface, be careful you don't cut yourself off. :param bool status: enable or disable the interface :param int wanInterfaceId: the id of the WAN interface :param float timeout: the timeout to wait for the action to be executed """

        namespace = Wan.getServiceType("setEnable") + str(wanInterfaceId)
        uri = self.getControlURL(namespace)

        if status:
            setStatus = 1
        else:
            setStatus = 0

        self.execute(uri, namespace, "SetEnable", timeout=timeout, NewEnable=setStatus)