code: public function isPublicAction($plugin, $controller, $action) {
  		if ($this->_options['camelizedControllerNames']) {
  			$controller = Inflector::camelize($controller);
  		} else {
  			$controller = Inflector::underscore($controller);
  		}
  		$key = ($plugin ? $plugin . '.' : '') . $controller;
  
  		$isPublic = false;
  		if (isset($this->_publicActions[$key])) {
  			if ($this->_publicActions[$key] === '*') {
  				$isPublic = true;
  			} elseif ($this->_publicActions[$key] === $action) {
  				$isPublic = true;
  			} elseif (is_array($this->_publicActions[$key]) && in_array($action, $this->_publicActions[$key])) {
  				$isPublic = true;
  			}
  		}
  		return $isPublic;
  	}
docs: Checks if the given plugin/controller/action combination is configured to be public
  
  @param string $plugin plugin name
  @param string $controller controller name
  @param string $action action name
  @return bool