public function is($enumValue): bool
    {
        if (!static::hasValue($enumValue)) {
            throw new InvalidEnumMemberException($enumValue, $this);
        }

        return $this->value === $enumValue;
    }