isValidShellPath

Checks if a shell path is a valid executable file or an executable command on the PATH.

Return

true if the shell path exists and is executable, false otherwise.

Parameters

shellPath

shell path to validate.