Test if fortune is installed before using it.