adding helper to check if librarian is installed
if librarian not installed, abort
merged in haslibrarian