Added CommandExists

CommandExists checks if a command is registered