The ideal way to check this is with `function_exported?/3`. However, `function_exported?/3` only works if a module was previously loaded, so you need something like: `Code.ensure_loaded(module) && function_exported?(module, function, arity)`