public function hasActions($useCache = TRUE)
{
$hasActions = $this->hasActions;
if ($hasActions === NULL || $useCache === FALSE) {
$container = $this->getComponent(Action::ID, FALSE);
$hasActions = $container && count($container->getComponents()) > 0;
$this->hasActions = $useCache ? $hasActions : NULL;
}
return $hasActions;
}