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

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

        $hookName = $this->sanitize($hookName);
        return $hookName && in_array($hookName, $this->current);
    }
public function isDo ( $ hookName = null ) { if ( null === $ hookName ) { return ! empty ( $ this -> current ) ; } $ hookName = $ this -> sanitize ( $ hookName ) ; return $ hookName && in_array ( $ hookName , $ this -> current ) ; }
Check if hook has doing

@param string $hookName Hook name

@return boolean           true if has doing
Check if hook has doing