def has_tag(tags, target) -> bool:
    """
    Verifies that the `target` tag is present in a query set.
    @param tags: tags to be checked
    @param target: the tag searched for
    @return: True if the target is present, False otherwise
    """
    for tag in tags:
        if tag.tag == target:
            return True
    return False