default @SideEffectFree boolean hasRemainingInput(final boolean ignoreWhitespace) {
        if (!this.hasRemainingInput()) {
            return false;
        }

        if (ignoreWhitespace) {
            return this.hasNonWhitespace();
        }

        return true;
    }
Returns whether there is anything left to read.

@param ignoreWhitespace whether to ignore whitespace
@return whether there is anything left to read.
cloud-core/src/main/java/org/incendo/cloud/context/CommandInput.java