boolean (final WrapImpl wrap, LeafBlockWrapper currentBlock) { return isSuitableInTheCurrentPosition(wrap, currentBlock) && (wrap.getType() == WrapImpl.Type.WRAP_AS_NEEDED || wrap.getType() == WrapImpl.Type.CHOP_IF_NEEDED) && !currentBlock.getWhiteSpace().isReadOnly(); }