boolean (boolean redo) { if (redo) { StartMarkAction mark = getStartMark(); if (mark != null) { return mark.isGlobal(); } } else { FinishMarkAction finishMark = getFinishMark(); if (finishMark != null) { return finishMark.isGlobal(); } } return false; }