`Code.ensure_loaded?` would be the best to use here as it will try to load the module if it can. :)