public function hasOperation($useCache = TRUE)
{
$hasOperation = $this->hasOperation;
if ($hasOperation === NULL || $useCache === FALSE) {
$hasOperation = (bool) $this->getComponent(Operation::ID, FALSE);
$this->hasOperation = $useCache ? $hasOperation : NULL;
}
return $hasOperation;
}