@Contract("null -> true")
  public static boolean isEolOrNull(@Nullable ASTNode node) {
    if (node == null) {
      return true;
    }
    return YAMLElementTypes.EOL_ELEMENTS.contains(node.getElementType());
  }
@Contract("null -> true")
  public static boolean isEolOrNull(@Nullable ASTNode node)