original_string: protected function _isAllowed(Controller $controller)
      {
          $action = strtolower($controller->getRequest()->getParam('action'));
  
          return in_array($action, array_map('strtolower', $this->allowedActions));
      }
code: protected function _isAllowed(Controller $controller)
      {
          $action = strtolower($controller->getRequest()->getParam('action'));
  
          return in_array($action, array_map('strtolower', $this->allowedActions));
      }
code_tokens: protected function _isAllowed ( Controller $ controller ) { $ action = strtolower ( $ controller -> getRequest ( ) -> getParam ( 'action' ) ) ; return in_array ( $ action , array_map ( 'strtolower' , $ this -> allowedActions ) ) ; }
docstring: Checks whether current action is accessible without authentication.
  
  @param \Cake\Controller\Controller $controller A reference to the instantiating
  controller object
  @return bool True if action is accessible without authentication else false
docstring_tokens: Checks whether current action is accessible without authentication .