src/main/java/com/findupon/commons/utilities/BoolUtils.java
/**
	 * <p>Checks if a {@code Boolean} value is {@code true},
	 * handling {@code null} by returning {@code false}.</p>
	 * <p>
	 * <pre>
	 *   BoolUtils.isAlive(Boolean.FALSE) = Boolean.FALSE;
	 *   BoolUtils.isAlive(Boolean.TRUE)  = Boolean.TRUE;
	 *   BoolUtils.isAlive(null)          = Boolean.FALSE;
	 *   BoolUtils.isAlive(Collection)    = isEmpty ? Boolean.FALSE : Boolean.TRUE;
	 * </pre>
	 *
	 * @param objects to iterate, may be null
	 * @return {@code boolean} value, {@code false} if {@code null} input
	 */


@param objects to iterate, may be null
@return  boolean value,  false if  null input
@param objects to iterate may be null @return boolean value false if null input
public static boolean isAlive(Object... objects) {
		if(objects == null) {
			return false;
		}
		for(Object o : objects) {
			if(o == null ||
					(o instanceof Collection<?> && ((Collection<?>)o).isEmpty()) ||
					(o instanceof Element && ((Element)o).children().isEmpty()) ||
					(o instanceof String && ((String)o).isEmpty())) {
				return false;
			}
		}
		return true;
	}
public static boolean isAlive ( Object ... objects ) { if ( objects == null ) { return false ; } for ( Object o : objects ) { if ( o == null || ( o instanceof Collection < ? > && ( ( Collection < ? > ) o ) . isEmpty ( ) ) || ( o instanceof Element && ( ( Element ) o ) . children ( ) . isEmpty ( ) ) || ( o instanceof String && ( ( String ) o ) . isEmpty ( ) ) ) { return false ; } } return true ; }
<p>Checks if a {@code Boolean} value is {@code true},
 handling {@code null} by returning {@code false}.</p>
 <p>
 <pre>
   BoolUtils.isAlive(Boolean.FALSE) = Boolean.FALSE;
   BoolUtils.isAlive(Boolean.TRUE)  = Boolean.TRUE;
   BoolUtils.isAlive(null)          = Boolean.FALSE;
   BoolUtils.isAlive(Collection)    = isEmpty ?
<p > Checks if a { @code Boolean } value is { @code true } handling { @code null } by returning { @code false } . < / p > <p > <pre > BoolUtils . isAlive ( Boolean . FALSE ) = Boolean . FALSE ; BoolUtils . isAlive ( Boolean . TRUE ) = Boolean . TRUE ; BoolUtils . isAlive ( null ) = Boolean . FALSE ; BoolUtils . isAlive ( Collection ) = isEmpty ?
// Loop returns false for any object condition considered not alive ... or dead.