check whether a tool is exist.