periksa apakah modal hide jQuery

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