original_string: protected function is_hint_empty_in_form_data($formdata, $number, $withparts) {
          if ($withparts) {
              return empty($formdata->hint[$number]['text']) && empty($formdata->hintclearwrong[$number]) &&
                      empty($formdata->hintshownumcorrect[$number]);
          } else {
              return  empty($formdata->hint[$number]['text']);
          }
      }
code: protected function is_hint_empty_in_form_data($formdata, $number, $withparts) {
          if ($withparts) {
              return empty($formdata->hint[$number]['text']) && empty($formdata->hintclearwrong[$number]) &&
                      empty($formdata->hintshownumcorrect[$number]);
          } else {
              return  empty($formdata->hint[$number]['text']);
          }
      }
code_tokens: protected function is_hint_empty_in_form_data ( $ formdata , $ number , $ withparts ) { if ( $ withparts ) { return empty ( $ formdata -> hint [ $ number ] [ 'text' ] ) && empty ( $ formdata -> hintclearwrong [ $ number ] ) && empty ( $ formdata -> hintshownumcorrect [ $ number ] ) ; } else { return empty ( $ formdata -> hint [ $ number ] [ 'text' ] ) ; } }
docstring: Determine if the hint with specified number is not empty and should be saved.
  Overload if you use custom hint controls.
  @param object $formdata the data from the form.
  @param int $number number of hint under question.
  @param bool $withparts whether to take into account clearwrong and shownumcorrect options.
  @return bool is this particular hint data empty.
docstring_tokens: Determine if the hint with specified number is not empty and should be saved . Overload if you use custom hint controls .