def METHOD_NAME(matches: list[Match], index: int) -> bool:
    return (
        matches[index].label == '$start_string'
        and matches[index + 1].label == '$gnupg_version_string'
        and len(matches) > index + 2
        and matches[index + 2].label == '$end_string'
    )