Added a API to check if the LMS is truly connected in cases where you may want to know.