lojix/prolog/src/main/com/thesett/aima/logic/fol/prolog/StackVariable.java
public boolean isBound()
    {
        VariableBindingContext<Variable> context = getBindingContext();

        // The variable can only be bound if it has a binding context and is bound in that context.
        return (context != null) && context.getStorageCell(this).isBound();
    }
public boolean isBound()
    {
        VariableBindingContext<Variable> context = getBindingContext();

        // The variable can only be bound if it has a binding context and is bound in that context.
        return (context != null) && context.getStorageCell(this).isBound();
    }
Reports whether or not this variable is bound to a value.

@return <tt>true</tt> if this variable has been assigned a value, <tt>false</tt> otherwise.