Function isCommandExist was added