is_active-sidebar loop

is_active_sidebar has a single value, whether it is the sideabar id or name. If you have more than one sidebar, you should repeat is_active_sidebar, each one with a specific sidebar id or name.

You would do something like this

<?php if ( is_active_sidebar( 'available-course-list-1' ) && is_active_sidebar( 'available-course-list-2' )) : ?>