Change api_handleCommand() to return a boolean. (dm)