code: def validate(epub_path):
      
  
      try:
          subprocess.check_call([c.JAVA, '-jar', c.EPUBCHECK, epub_path])
          return True
      except subprocess.CalledProcessError:
          return False
docs: Minimal validation.
  
      :return bool: True if valid else False