code: def checkscript(self, content):
          
          if "VERSION" not in self.__capabilities:
              raise NotImplementedError(
                  "server does not support CHECKSCRIPT command")
          content = tools.to_bytes(content)
          content = tools.to_bytes("{%d+}" % len(content)) + CRLF + content
          code, data = self.__send_command("CHECKSCRIPT", [content])
          if code == "OK":
              return True
          return False
docs: Check whether a script is valid
  
          See MANAGESIEVE specifications, section 2.12
  
          :param name: script's content
          :rtype: boolean