def _continue_download(page_state):
    """
    Tests to see if enough items have been downloaded, as calculated after a
    download.
    Parameters:
        hits: total number of records from search
        page_state: position in the download ; current page
            * page_size: number of downloads per page
            * page_num: current page downloaded
            * limit: max records to download, -1 means all
    Returns:
        True if another page can be downloaded, False otherwise
    """
    limit = page_state['limit'] # user requested limit
    items_downloaded = page_state['page_size']*page_state['page_num']
    return items_downloaded<limit