Verifique si Modal Hide jQuery

alert($('#registration-exams-modal').hasClass('show'));
Lokesh003