protected function _actionIsEnabled($action)
    {
        $actions = $this->type['actions'];

        if (array_key_exists($action, $actions)) {
            return $actions[$action];
        }
        return true;
    }
protected function _actionIsEnabled($action)
    {
        $actions = $this->type['actions'];

        if (array_key_exists($action, $actions)) {
            return $actions[$action];
        }
        return true;
    }
protected function _actionIsEnabled ( $ action ) { $ actions = $ this -> type [ 'actions' ] ; if ( array_key_exists ( $ action , $ actions ) ) { return $ actions [ $ action ] ; } return true ; }
Checks if the action is enabled.

@param string $action Chosen action to check on.
@return bool
Checks if the action is enabled .