<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setactive(self, scriptname):
 """Define the active script See MANAGESIEVE specifications, section 2.8 If scriptname is empty, the current active script is disabled, ie. there will be no active script anymore. :param scriptname: script's name :rtype: boolean """

        code, data = self.__send_command(
            "SETACTIVE", [scriptname.encode("utf-8")])
        if code == "OK":
            return True
        return False