public function applyEffects($event = null)
    {
        if ($event !== null) {
            if (!in_array($event, $this->acceptedEffectsEvents())) {
                if (!is_string($event)) {
                    $event = (is_object($event) ? get_class($event) : gettype($event));
                }
                throw new OutOfBoundsException(sprintf(
                    'Unsupported image property event "%s" provided',
                    $event
                ));
            }

            return $this->applyEffects === $event;
        }

        return $this->applyEffects;
    }