Function hasTag

Return whether any tag has exactly matching key bytes.

bool hasTag(R, Q)(
  scope R tags,
  scope Q[] key
) nothrow @nogc @safe
if (isSemanticTagRange!R && isTagCodeUnit!Q);

This is linear in the number of tags visited, allocates nothing, and does not advance the caller's cursor.