Checks if the command actually existsor not