isRequired() {
		if (this.__rules) {
			var osRules = {}; // Initialize everything to 'disallow'
			osRules[os.OS_LINUX]   = false;
			osRules[os.OS_OSX]     = false;
			osRules[os.OS_WINDOWS] = false;
			this.__rules.forEach(rule => {
				if (rule.os) {
					osRules[rule.os.name] = rule.action == "allow";
				} else {
					for (let i in osRules)
						osRules[i] = rule.action == "allow";
				}
			});
			return osRules[env.get("os")];
		}
		return true; // No rules specified, so it's required
	}
/**
	 * Determine if the library is required
	 *
	 * @return {Boolean}
	 */
Determine if the library is required
@return {Boolean}
Determine if the library is required @return { Boolean }
isRequired() {
		if (this.__rules) {
			var osRules = {}; 
			osRules[os.OS_LINUX]   = false;
			osRules[os.OS_OSX]     = false;
			osRules[os.OS_WINDOWS] = false;
			this.__rules.forEach(rule => {
				if (rule.os) {
					osRules[rule.os.name] = rule.action == "allow";
				} else {
					for (let i in osRules)
						osRules[i] = rule.action == "allow";
				}
			});
			return osRules[env.get("os")];
		}
		return true; 
	}
isRequired ( ) { if ( this . __rules ) { var osRules = { } ; osRules [ os . OS_LINUX ] = false ; osRules [ os . OS_OSX ] = false ; osRules [ os . OS_WINDOWS ] = false ; this . __rules . forEach ( rule => { if ( rule . os ) { osRules [ rule . os . name ] = rule . action == "allow" ; } else { for ( let i in osRules ) osRules [ i ] = rule . action == "allow" ; } } ) ; return osRules [ env . get ( "os" ) ] ; } return true ; }
Determine if the library is required
 @return {Boolean}
Determine if the library is required @return { Boolean }
// Initialize everything to 'disallow' // No rules specified, so it's required