boolean (Block block) { final TextRange range = block.getTextRange(); final int startOffset = range.getStartOffset(); List<Indent.Type> allIndents = getIndentOnStartOffset(block, range, startOffset); if (hasOnlyNormalOrNoneIndents(allIndents)) { int normalIndents = ContainerUtil.filter(allIndents, type -> type == Indent.Type.NORMAL).size(); return normalIndents < 2; } return false; }