def is_package_excluded(package: str, exclusion_list: List[str]):
    '\n    Checks if package should be excluded.\n    :param package: package name (beginning of it)\n    :param exclusion_list: list of excluded packages\n    :return: true if package should be excluded\n    '
    return any([package.startswith(excluded_package) for excluded_package in exclusion_list])
Checks if package should be excluded.
:param package: package name (beginning of it)
:param exclusion_list: list of excluded packages
:return: true if package should be excluded
def is_package_excluded(package: str, exclusion_list: List[str]):
    '\n    Checks if package should be excluded.\n    :param package: package name (beginning of it)\n    :param exclusion_list: list of excluded packages\n    :return: true if package should be excluded\n    '
    return any([package.startswith(excluded_package) for excluded_package in exclusion_list])