revisa si el usuario del id tiene reservas asociadas concode_field_sep String CAPTCHA_CODE concode_elem_sep AuthDao authDao concode_elem_sep UsuariosDao userDao concode_elem_sep ReservaDao reservaDao concode_elem_sep SancionDao sancionDao concode_field_sep void eliminarAdministrador concode_elem_sep void cerrarSesion concode_elem_sep boolean isActiveUser concode_elem_sep boolean existeEmail concode_elem_sep boolean existInvest concode_elem_sep boolean hasActiveSanctions concode_elem_sep boolean login concode_elem_sep void registrarAdministrador concode_elem_sep void actualizarInformacion concode_elem_sep void eliminarInvestigador concode_elem_sep List<Usuarios> listarInvestigadores concode_elem_sep boolean matchRol concode_elem_sep void darseDeBajaLogicamenteInvestigador concode_elem_sep boolean userExist
boolean function ( int arg0 ) { List < Reserva > loc0 = reservaDao . obtener ( ) ; Iterator < Reserva > loc1 = loc0 . iterator ( ) ; while ( loc1 . hasNext ( ) ) { if ( loc1 . next ( ) . getId_cedula ( ) . getCedula ( ) == arg0 ) { return true ; } } return false ; }