/**
  * Per il <code>model</code> passato come argomento, controlla l'esistenza dell'oggetto nel
  * database e, in tal caso, carica i dati al suo interno.
  *
  * @param model
  * @throws SQLException, Exception
  * @return boolean<br>
  *     -<code>true</code> se il <code>model</code> esiste<br>
  *     -<code>false</code> se il <code>model</code> non esiste
  */
 static boolean checkExist(PrenotazioneOggetto model) throws SQLException, Exception {
   String id = find(model.getCodicePrenotazione(), model.getTipo(), model.getOggetto());
   if (!id.matches("0")) {
     load(model, id, true);
     return true;
   }
   return false;
 }