public static <T> T isTrueArgument(final String name, final T value, final boolean condition) {
    """
	Throw IllegalArgumentException if the condition if false, otherwise return the value.  This is useful when arguments must be checked
	within an expression, as when using {@code this} to call another constructor, which must be the first line of the calling
	constructor.
	
	@param <T>       the value type
	@param name      the name of the state that is being checked
	@param value     the value of the argument
	@param condition the condition about the parameter to check
	@return          the value
	@throws java.lang.IllegalArgumentException if the condition is false
    """
        if (!condition) {
            throw new IllegalArgumentException("state should be: " + name);
        }
        return value;
    }
public static <T> T isTrueArgument(final String name, final T value, final boolean condition) {
        if (!condition) {
            throw new IllegalArgumentException("state should be: " + name);
        }
        return value;
    }
public static < T > T isTrueArgument ( final String name , final T value , final boolean condition ) { if ( ! condition ) { throw new IllegalArgumentException ( "state should be: " + name ) ; } return value ; }
Throw IllegalArgumentException if the condition if false, otherwise return the value.  This is useful when arguments must be checked
within an expression, as when using {@code this} to call another constructor, which must be the first line of the calling
constructor.

@param <T>       the value type
@param name      the name of the state that is being checked
@param value     the value of the argument
@param condition the condition about the parameter to check
@return          the value
@throws java.lang.IllegalArgumentException if the condition is false
Throw IllegalArgumentException if the condition if false otherwise return the value . This is useful when arguments must be checked within an expression as when using { @code this } to call another constructor which must be the first line of the calling constructor .