Added a hasValue function to the Ref class and an overload of the join
method in the CollectionUtil class to accept arrays.