moves isMentoring function from mentor to mentors class