/**
  * Checks if an exclusive lock exists on the specified DBObject.
  * @param string $sObjClass The class of the object for which to acquire the lock
  * @param integer $iObjKey The identifier of the object for which to acquire the lock
  * @return multitype:boolean iTopOwnershipLock Ambigous <boolean, string, DBObjectSet>
  */
 public static function IsLocked($sObjClass, $iObjKey)
 {
     $bLocked = false;
     $oMutex = new iTopMutex('lock_' . $sObjClass . '::' . $iObjKey);
     $oMutex->Lock();
     $oOwnershipLock = new iTopOwnershipLock($sObjClass, $iObjKey);
     if ($oOwnershipLock->IsOwned()) {
         $bLocked = true;
     }
     $oMutex->Unlock();
     return array('locked' => $bLocked, 'owner' => $oOwnershipLock->GetOwner());
 }