'Returns boolean indicating presence of passed message.'

def has_passed_message(self):

    return (self.entrance_exam_message_selector.is_present() and ('You    have    passed    the    entrance    exam' in self.entrance_exam_message_selector.text[0]))
