public static @Nullable YAMLKeyValue findKeyInProbablyMapping(@Nullable YAMLValue node, @NotNull String keyText) {
    if (!(node instanceof YAMLMapping)) {
      return null;
    }
    return ((YAMLMapping)node).getKeyValueByKey(keyText);
  }
public static @Nullable YAMLKeyValue findKeyInProbablyMapping(@Nullable YAMLValue node, @NotNull String keyText)