boolean () { boolean hasUndoneBranches = false; for (BekBranch bekBranch : myBekBranches) { if (!bekBranch.isDone()) { hasUndoneBranches = true; if (bekBranch.getPrepareForInsertPart() == null) { bekBranch.updatePrepareForInsertPart(myTimestampGetter, myEdgeRestrictions); } } } return hasUndoneBranches; }