I think this function would be more appropriate in Base.