/**
  * @return boolean
  */
 private function isRunning()
 {
     // Check if we have records in running state, if so read PID & check if process is active
     /* @var AclChangeset $runningAclChangeset */
     $runningAclChangeset = $this->em->getRepository('KunstmaanAdminBundle:AclChangeset')->findRunningChangeset();
     if (!is_null($runningAclChangeset)) {
         // Found running process, check if PID is still running
         if (!$this->shellHelper->isRunning($runningAclChangeset->getPid())) {
             // PID not running, process probably failed...
             $runningAclChangeset->setStatus(AclChangeset::STATUS_FAILED);
             $this->em->persist($runningAclChangeset);
             $this->em->flush($runningAclChangeset);
         }
     }
     return false;
 }