Added function to check whether the char is LMS