code: public boolean addMasterPageStyle(final MasterPageStyle masterPageStyle) {
          if (this.masterPageStylesContainer.add(masterPageStyle.getName(), masterPageStyle)) {
              masterPageStyle.addEmbeddedStyles(this);
              return true;
          } else return false;
      }
docs: Create a new master page style into styles container. No duplicate style name is allowed.
  
  @param masterPageStyle the data style to add
  @return true if the style was created