def skipLine(line):
    """
    Skip lines which are not needed to parse a proto file.

    :return: True if the line can be skipped, otherwise False.
    """
    # skip empty lines
    if line == "":
        return True
    # skip lines with documentation
    if line.startswith('/') or line.startswith('*'):
        return True
    # skip definition of proto syntax version
    if line.startswith('syntax'):
        return True
    # skip package definition
    if line.startswith('package'):
        return True
    # skip imports
    if line.startswith('import'):
        return True
    # skip options
    if line.startswith('option '):
        return True
    return False