Refactor `command_exist` to `fnCmdExist`