function checkAction($bPerformAction = false)
{
if (isset($this->_checkActionResult)) {
return $this->_checkActionResult;
}
$iId = getLoggedId();
$aResult = checkAction($iId, ACTION_ID_VOTE, $bPerformAction);
return $this->_checkActionResult = $aResult[CHECK_ACTION_RESULT] == CHECK_ACTION_RESULT_ALLOWED;
}