import zipfile


def zipFileIsGood(filePath):
    """
    Function to test if a ZIP file is good or bad

    @param filePath    the zip file to be tested
    
    @return True if the ZIP file is good. False otherwise.
    """
    ret = True
    
    try:
        the_zip_file = zipfile.ZipFile(filePath)
        badFile = the_zip_file.testzip()
    
        if badFile is not None:
            ret = False
        else:
            ret = True
    except:
        ret = False
    return ret