This is wrong -- don't use cider-autoloads. They may not even be there if cider was installed manually. Instead, you probably want to try `(require 'cider nil t)`, and then look for `(featurep 'cider)`.