CompletableFuture<Boolean> (Value value, EvaluationContext evaluationContext, NodeDescriptor parentDescriptor) { if (!(value instanceof ArrayReference)) { return CompletableFuture.completedFuture(false); } return DebuggerUtilsAsync.length(((ArrayReference)value)).thenApply(l -> l > 0); }