public function isActionExists($actionName) { return Strings::contains($this->getControllerContents(), 'function ' . $actionName); }