original_string: public function is_own_form($userid = null) {
          global $USER;
  
          if (!$this->is_form_defined()) {
              return null;
          }
          if (is_null($userid)) {
              $userid = $USER->id;
          }
          return ($this->definition->usercreated == $userid);
      }
code: public function is_own_form($userid = null) {
          global $USER;
  
          if (!$this->is_form_defined()) {
              return null;
          }
          if (is_null($userid)) {
              $userid = $USER->id;
          }
          return ($this->definition->usercreated == $userid);
      }
code_tokens: public function is_own_form ( $ userid = null ) { global $ USER ; if ( ! $ this -> is_form_defined ( ) ) { return null ; } if ( is_null ( $ userid ) ) { $ userid = $ USER -> id ; } return ( $ this -> definition -> usercreated == $ userid ) ; }
docstring: Is the grading form owned by the given user?
  
  The form owner is the user who created this instance of the form.
  
  @param int $userid the user id to check, defaults to the current user
  @return boolean|null null if the form not defined yet, boolean otherwise
docstring_tokens: Is the grading form owned by the given user?