def import_zip(isamAppliance, instance_id, filename, check_mode=False,
    force=False):
    """
    Importing the contents of a .zip file to the administration pages root
    """
    if check_mode is True:
        return isamAppliance.create_return_object(changed=True)
    else:
        return isamAppliance.invoke_post_files(
            'Importing the contents of a .zip file to the administration pages root'
            , '/wga/reverseproxy/{0}/management_root'.format(instance_id),
            [{'file_formfield': 'file', 'filename': filename, 'mimetype':
            'application/octet-stream'}], {'type': 'file', 'force': force})
