public function canRecord()
{
$storagePath = $this->createStoragePath();
if (!$storagePath) {
return false;
}
if (false === $this->getAllActionsFilepath($storagePath)) {
return false;
}
if (false === $this->getExecutedActionsFilepath($storagePath)) {
return false;
}
return true;
}