This is not available on all platforms, as it is an optional tool.  (eg: minimal Debian install does not include it.)

You should use the more portable `command -p` builtin to test for the path to the command.