Whether a tag is a valid List or Set or Sequence tag.
tag
bool isYamlSequenceTag(TagShorthand tag) => tag == sequenceTag || _canBeSequenceOrMap(tag);