classVerifyLANZ(AntaTest):"""Verifies if LANZ (Latency Analyzer) is enabled. Expected Results ---------------- * Success: The test will pass if LANZ is enabled. * Failure: The test will fail if LANZ is disabled. Examples -------- ```yaml anta.tests.lanz: - VerifyLANZ: ``` """description="Verifies if LANZ is enabled."categories:ClassVar[list[str]]=["lanz"]commands:ClassVar[list[AntaCommand|AntaTemplate]]=[AntaCommand(command="show queue-monitor length status",revision=1)]@skip_on_platforms(["cEOSLab","vEOS-lab","cEOSCloudLab","vEOS"])@AntaTest.anta_testdeftest(self)->None:"""Main test function for VerifyLANZ."""command_output=self.instance_commands[0].json_outputifcommand_output["lanzEnabled"]isnotTrue:self.result.is_failure("LANZ is not enabled")else:self.result.is_success()