code: public static boolean hasEntry(Object list) {
          if (list == null)
              return false;
          if (list instanceof List)
              return !((List<?>) list).isEmpty();
          return true;
      }
docs: Simple utility method to test if List has at least 1 entry.
  
  @param list a LazyList, {@link List} or {@link Object}
  @return true if not-null and is not empty