public function isSuperset(EnumSet $other): bool
    {
        return $this->enumeration === $other->enumeration
            && ($this->bitset | $other->bitset) === $this->bitset;
    }
public function isSuperset(EnumSet $other): bool
    {
        return $this->enumeration === $other->enumeration
            && ($this->bitset | $other->bitset) === $this->bitset;
    }
public function isSuperset ( EnumSet $ other ) : bool { return $ this -> enumeration === $ other -> enumeration && ( $ this -> bitset | $ other -> bitset ) === $ this -> bitset ; }
Check if this EnumSet is a superset of other
@param EnumSet $other
@return bool
Check if this EnumSet is a superset of other