public static function isFull($userId)
 {
     $datanbreMax = BaseSingleton::select('SELECT * FROM limitant WHERE limitant.id = 1');
     $limitant = new Limitant();
     if (sizeof($datanbreMax) > 0) {
         $limitant->hydrate($datanbreMax[0]);
     }
     $nbreMax = $limitant->getNbVMUser();
     $datanbreActuel = BaseSingleton::select('SELECT * FROM utilisateur WHERE id = ?', array('i', &$userId));
     $utilisateur = new Utilisateur();
     if (sizeof($datanbreActuel) > 0) {
         $utilisateur->hydrate($datanbreActuel[0]);
     }
     $nbreActuel = $utilisateur->getNbVm();
     $statut = true;
     if (is_int($nbreActuel) && is_int($nbreMax)) {
         $nbreRestant = $nbreMax - $nbreActuel;
         if ($nbreRestant >= 1) {
             $statut = false;
         }
     }
     return $statut;
 }