private boolean containsElements ( final Collection < ? > coll ) { if ( coll == null || coll . isEmpty ( ) ) { return false ; } for ( final Object name : coll ) { if ( name != null ) { return true ; } } return false ; }
Learn whether the specified Collection contains non - null elements .