verifyDependency
Checks if the required software for this optimizer is installed on the current system.
It runs the command for the optimizer with the versionFlag as a argument and checks the exit code of the process.
An exit code of 0 means that the command is available and thus, the dependency is verified.
Return
A Boolean, true if the required command is available and false if it's not.