src/Hook.php
public function hasDoing($hookName = null) : bool
    {
        if (null === $hookName) {
            return ! empty($this->current);
        }

        $hookName = $this->sanitizeKeyName($hookName);
        return $hookName && isset($this->current[$hookName]);
    }
public function hasDoing($hookName = null) : bool
    {
        if (null === $hookName) {
            return ! empty($this->current);
        }

        $hookName = $this->sanitizeKeyName($hookName);
        return $hookName && isset($this->current[$hookName]);
    }
public function hasDoing ( $ hookName = null ) : bool { if ( null === $ hookName ) { return ! empty ( $ this -> current ) ; } $ hookName = $ this -> sanitizeKeyName ( $ hookName ) ; return $ hookName && isset ( $ this -> current [ $ hookName ] ) ; }
Check if hook has doing

@param string $hookName Hook name

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