Verify package available before calling package functions