code: protected boolean shouldBeRendered(FacesMessage message, UIMessagesBase uiMessagesBase) {
  		return (!message.isRendered() || uiMessagesBase.isRedisplay())
  			&& uiMessagesBase.getSeverity().contains(getSeverityName(message.getSeverity()));
  	}
docs: Returns {@code true} if the provided message should be rendered in the provided base message component.
  
  @param message Message to be checked for rendering.
  @param uiMessagesBase Base message component message needs to be rendered in.
  @return {@code true} if the provided message should be rendered in the provided base message component.