code: function (oObject, sName) {
  			sName = sName === '/' ? '' : sName;
  			var aNames = sName.split('/'),
  				l = aNames.length, i;
  
  			if (l > 0) {
  				for (i = 0; oObject && i < l - 1; i++) {
  					if (!oObject[aNames[i]]) {
  						return false;
  					}
  					oObject = oObject[aNames[i]];
  				}
  				return oObject[aNames[l - 1]];
  			}
  		}
docs: *
  Gets the selection state for a package/module.
  Package names must end with a slash, modules must not.
  If an ancestor package of the package/module does not exists, undefined is returned.
  @param {object} oObject The resulting hierarchy object
  @param {string} sName The name to be set in the hierarchy
  @returns {boolean} the selected state of a name