import re


def is_time_code(line: str):
    """Check if line has timecode. Returns True if line contain timecode"""
    time = r"\d{2}:\d{2}:\d{2}\.\d{3}"
    return bool(re.match(time + r"\s*-->\s*" + time + r"\s*\n", line))