function hasTag hasTag(words: string[]): boolean Checks if a sentence has a tag Returns true if any word in the array is a .tag attribute. Examples Check for tag presence import { assertEquals } from "@std/assert"; import { hasTag } from "@hertzg/routeros-api/utils/tag"; assertEquals(hasTag(["/interface/print", ".tag=abc"]), true); assertEquals(hasTag(["/interface/print"]), false); Parameters words: string[] Array of words from a sentence Return Type boolean True if a tag is present