original_string: private function check_controller_hash_tmp_file()
  	{
  	    if(is_writable(dirname($this->controllers_hash_file)))
  	    {
  	        App :: uses('File', 'Utility');
  	        $file = new File($this->controllers_hash_file, true);
  	        return $file->exists();
  	    }
  	    else
  	    {
  	        $this->Session->setFlash(sprintf(__d('acl', 'the %s directory is not writable'), dirname($this->controllers_hash_file)), 'Risto.flash_error', null, 'plugin_acl');
  	        return false;
  	    }
  	}
code: private function check_controller_hash_tmp_file()
  	{
  	    if(is_writable(dirname($this->controllers_hash_file)))
  	    {
  	        App :: uses('File', 'Utility');
  	        $file = new File($this->controllers_hash_file, true);
  	        return $file->exists();
  	    }
  	    else
  	    {
  	        $this->Session->setFlash(sprintf(__d('acl', 'the %s directory is not writable'), dirname($this->controllers_hash_file)), 'Risto.flash_error', null, 'plugin_acl');
  	        return false;
  	    }
  	}
code_tokens: private function check_controller_hash_tmp_file ( ) { if ( is_writable ( dirname ( $ this -> controllers_hash_file ) ) ) { App :: uses ( 'File' , 'Utility' ) ; $ file = new File ( $ this -> controllers_hash_file , true ) ; return $ file -> exists ( ) ; } else { $ this -> Session -> setFlash ( sprintf ( __d ( 'acl' , 'the %s directory is not writable' ) , dirname ( $ this -> controllers_hash_file ) ) , 'Risto.flash_error' , null , 'plugin_acl' ) ; return false ; } }
docstring: Check if the file containing the stored controllers hashes can be created,
  and create it if it does not exist
  
  @return boolean true if the file exists or could be created
docstring_tokens: Check if the file containing the stored controllers hashes can be created and create it if it does not exist