Probably simpler to just do `lists:member(Arity, proplists:get_all_values(Function, Exports))`