code: def has_code(state, text, incorrect_msg="The checker expected to find `{{text}}` in your command.", fixed=False):
      stu_code = state.student_code
      res = text in stu_code if fixed else re.search(text, stu_code)
      if not res:
          _msg = state.build_message(incorrect_msg, fmt_kwargs={ 'text': text })
          state.do_test(_msg)
      return state