public/javascripts/yui/stylesheet/stylesheet.js
function (name,sheet) {
        return !!(name && sheet instanceof StyleSheet &&
                  !sheets[name] && (sheets[name] = sheet));
    }
function (name,sheet) {
        return !!(name && sheet instanceof StyleSheet &&
                  !sheets[name] && (sheets[name] = sheet));
    }
function ( name , sheet ) { return ! ! ( name && sheet instanceof StyleSheet && ! sheets [ name ] && ( sheets [ name ] = sheet ) ) ; }
Registers a StyleSheet instance in the static registry by the given name

@method StyleSheet.register
@param name {String} the name to assign the StyleSheet in the registry
@param sheet {StyleSheet} The StyleSheet instance
@return {Boolean} false if no name or sheet is not a StyleSheet
instance. true otherwise.
@static
Registers a StyleSheet instance in the static registry by the given name