there is a check_tool method in lib/packaging/util/tool.rb that we could also use for this