original_string: public function has_response_to_at_least_one_graded_question() {
          foreach ($this->quba->get_attempt_iterator() as $qa) {
              if ($qa->get_max_mark() == 0) {
                  continue;
              }
              if ($qa->get_num_steps() > 1) {
                  return true;
              }
          }
          return false;
      }
code: public function has_response_to_at_least_one_graded_question() {
          foreach ($this->quba->get_attempt_iterator() as $qa) {
              if ($qa->get_max_mark() == 0) {
                  continue;
              }
              if ($qa->get_num_steps() > 1) {
                  return true;
              }
          }
          return false;
      }
code_tokens: public function has_response_to_at_least_one_graded_question ( ) { foreach ( $ this -> quba -> get_attempt_iterator ( ) as $ qa ) { if ( $ qa -> get_max_mark ( ) == 0 ) { continue ; } if ( $ qa -> get_num_steps ( ) > 1 ) { return true ; } } return false ; }
docstring: Has the student, in this attempt, engaged with the quiz in a non-trivial way?
  That is, is there any question worth a non-zero number of marks, where
  the student has made some response that we have saved?
  @return bool true if we have saved a response for at least one graded question.
docstring_tokens: Has the student in this attempt engaged with the quiz in a non - trivial way? That is is there any question worth a non - zero number of marks where the student has made some response that we have saved?