import re


def is_valid_entity(line: str) -> bool:
    """Check if the line is a valid entity annotation."""
    regex = r'^T\d+\t\w+ \d+ \d+(;\d+ \d+)*\t.+$'
    return re.search(regex, line) is not None