Checked if the Course object is null.