boolean (@Nullable ASTNode element, @NotNull TokenSet tokenSet) { boolean isNotNull = element != null; if (!isNotNull) { return false; } return ParentProviderElementType.containsWithSourceParent(element.getElementType(), tokenSet); }