code: function(provider) {
  			var isActive = this._slideout.isVisible() && (this === this._slideout.getCurrentViewMode());
  			if (isActive && provider) {
  				isActive = (provider.getProperty("id") === this.providerId); //$NON-NLS-0$
  				if (isActive) {
  					isActive = (provider.getProperty("name") === this.providerName); //$NON-NLS-0$
  				}
  			}
  			return isActive;
  		}
docs: Returns a boolean indicating whether the outliner is visible.
  @param {orion.serviceregistry.ServiceReference} provider Optional. If specified this function will only return true
  if the currently selected provider matches the one passed in.
  @return true if the outliner is visible, false otherwise