def is_extrapackages_checked(active_packages, package_name):
    """
    Checks if the given package_name is under the already activate packages
    """
    if package_name in active_packages:
        return True
    else:
        return False