isValidSet (aGroupSet,aSet) {
    console.log ("isValidSet ()");

    for (let i=0;i<aGroupSet.length;i++) {
      // find a valid subset, if we find one then the entire premise is true
      if (this.isSubset (aGroupSet [i],aSet)==true) {
        return (true);
      }
    }

    return (false);
  }
/**
   * This method evaluates if the set aSet contains members which constitutes a subset of
   * one of the sets defined in aGroupSet
   */
This method evaluates if the set aSet contains members which constitutes a subset of
one of the sets defined in aGroupSet
This method evaluates if the set aSet contains members which constitutes a subset of one of the sets defined in aGroupSet
isValidSet (aGroupSet,aSet) {
    console.log ("isValidSet ()");
    for (let i=0;i<aGroupSet.length;i++) {
      if (this.isSubset (aGroupSet [i],aSet)==true) {
        return (true);
      }
    }
    return (false);
  }
isValidSet ( aGroupSet , aSet ) { console . log ( "isValidSet ()" ) ; for ( let i = 0 ; i < aGroupSet . length ; i ++ ) { if ( this . isSubset ( aGroupSet [ i ] , aSet ) == true ) { return ( true ) ; } } return ( false ) ; }
This method evaluates if the set aSet contains members which constitutes a subset of
 one of the sets defined in aGroupSet
This method evaluates if the set aSet contains members which constitutes a subset of one of the sets defined in aGroupSet
// find a valid subset, if we find one then the entire premise is true