boolean (int offset, int @NotNull [] stack, int level) { if (level < stack.length) { Node node = get(offset); if (node != null) { return node.contains(stack[level], stack, level + 1); } } return containsKey(offset); }