<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def validate(epub_path):
 """Minimal validation. :return bool: True if valid else False """


    try:
        subprocess.check_call([c.JAVA, '-jar', c.EPUBCHECK, epub_path])
        return True
    except subprocess.CalledProcessError:
        return False