fn check_if_allowed_tag(t: &Tag<'_>) -> bool