code: private static boolean isNullOrUndefinedBase(SoyValue base) {
      return base == null
          || base instanceof NullData
          || base instanceof UndefinedData
          || base == NullSafetySentinel.INSTANCE;
    }
docs: Returns true if the base SoyValue of a data access chain is null or undefined.