protected function _actionCheck() { $actions = $this->config('actions'); if (is_bool($actions)) { return $actions; } return in_array($this->request->action, (array) $actions, true); }