@Override
    public boolean hasEnvelopes()
    {
        return !envelopes.isEmpty();
    }
Returns true if there are waiting envelopes.
jme3-networking/src/main/java/com/jme3/network/kernel/AbstractKernel.java