code: private boolean canOptimizeObjectCreate(Node firstParam) {
      Node curParam = firstParam;
      while (curParam != null) {
        if (!isOptimizableKey(curParam)) {
          return false;
        }
        curParam = curParam.getNext();
  
        // Check for an odd number of parameters.
        if (curParam == null) {
          return false;
        }
        curParam = curParam.getNext();
      }
      return true;
    }
docs: Returns whether the given call to goog.object.create can be converted to an
  object literal.