You could also do this:
julia> import Distributions, Statistics, StatsBase
julia> Distributions.mean === Statistics.mean
julia> Distributions.mean === StatsBase.mean
julia> Statistics.mean === StatsBase.mean
This will print true if the two means are the same generic function.