from typing import Tuple


def check_version(available: str, needed: Tuple[int, int]) -> bool:
    """Check that an available version matches the needed version."""
    major, minor = available.split(".")
    if int(major) < needed[0]:
        return False
    return int(minor) >= needed[1]