public function contains($enumerator) { $enumeration = $this->enumeration; return $this->getBit($enumeration::get($enumerator)->getOrdinal()); }