public function evaluate(APILimitationValue $value, UserReference $currentUser, ValueObject $object, array $targets = null)
    {
        if (!$value instanceof APITagLimitation) {
            throw new InvalidArgumentException('$value', 'Must be of type: TagLimitation');
        }

        if (!$object instanceof Tag) {
            throw new InvalidArgumentException('$object', 'Must be of type: Tag');
        }

        if (empty($value->limitationValues)) {
            return false;
        }

        $limitationValues = array_map(
            static function ($value) {
                return (int) $value;
            },
            $value->limitationValues
        );

        return in_array($object->id, $limitationValues, true);
    }