code: public static <K, V> boolean hasItems(final Map<K, V> m) {
          return m != null && !m.isEmpty();
      }
docs: Returns {@code true} if the map is non-null and is non-empty,
  {@code false} otherwise.
  
  @param <K> Captured key type
  @param <V> Captured value type
  @param m Map of type {@code <K, V>}, may be null
  @return boolean