public function hasAccessEntityForUuid($class, $uuid)
    {
        try {
             $em = $this->entityManager->getDoctrineEntityManager();
             $data = $em->getRepository($class)->findOneBy(array(
                 'uuid' => $uuid,
             ));
             
             if ($data !== null) {
                 return true;
             }
             
             return false;
        } catch (\Exception $e) {
            throw new Exception('Cannot check if there is an access entitiy for the given uuid "' . $uuid . '".', 0, $e);
        }
    }
public function hasAccessEntityForUuid($class, $uuid)
    {
        try {
             $em = $this->entityManager->getDoctrineEntityManager();
             $data = $em->getRepository($class)->findOneBy(array(
                 'uuid' => $uuid,
             ));
             
             if ($data !== null) {
                 return true;
             }
             
             return false;
        } catch (\Exception $e) {
            throw new Exception('Cannot check if there is an access entitiy for the given uuid "' . $uuid . '".', 0, $e);
        }
    }
public function hasAccessEntityForUuid ( $ class , $ uuid ) { try { $ em = $ this -> entityManager -> getDoctrineEntityManager ( ) ; $ data = $ em -> getRepository ( $ class ) -> findOneBy ( array ( 'uuid' => $ uuid , ) ) ; if ( $ data !== null ) { return true ; } return false ; } catch ( \ Exception $ e ) { throw new Exception ( 'Cannot check if there is an access entitiy for the given uuid "' . $ uuid . '".' , 0 , $ e ) ; } }
Returns true if there is a access entity for the given uuid

@access public
@param string $class
@param string $uuid
@return boolean

@throws \Zepi\Core\AccessControl\Exception Cannot check if there is an access entitiy for the given uuid "{uuid}".
Returns true if there is a access entity for the given uuid