public function isDo($hookName = null)
    {
        if (null === $hookName) {
            return ! empty($this->current);
        }

        $hookName = $this->sanitize($hookName);
        return $hookName && in_array($hookName, $this->current);
    }