code: 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;
      }
docs: Learn whether the specified Collection contains non-null elements.
  @param coll to check
  @return <code>true</code> if some Object was found, <code>false</code> otherwise.