public static boolean is(@Nullable ASTNode element, @NotNull ParentAwareTokenSet tokenSet) {
    boolean isNotNull = element != null;
    if (!isNotNull) {
      return false;
    }
    return is(element.getElementType(), tokenSet);
  }
public static boolean is(@Nullable ASTNode element, @NotNull ParentAwareTokenSet tokenSet)