boolean (@NotNull WordBlock block) { for (int i = block.words.start1; i < block.words.end1; i++) { if (!(myWords1.get(i) instanceof NewlineChunk)) return true; } for (int i = block.words.start2; i < block.words.end2; i++) { if (!(myWords2.get(i) instanceof NewlineChunk)) return true; } return false; }