Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def have_unpaper():
try:
unpaper.version()
except Exception:
return False
else:
return True