original_string: public function hasAppointmentFields()
      {
          if (null === $this->_hasAppointmentFields) {
              $this->_hasAppointmentFields = false;
  
              foreach ($this->_trackFields as $field) {
                  if (self::TYPE_APPOINTMENT == $field['gtf_field_type']) {
                      $this->_hasAppointmentFields = true;
                      break;
                  }
              }
          }
  
          return $this->_hasAppointmentFields;
      }
code: public function hasAppointmentFields()
      {
          if (null === $this->_hasAppointmentFields) {
              $this->_hasAppointmentFields = false;
  
              foreach ($this->_trackFields as $field) {
                  if (self::TYPE_APPOINTMENT == $field['gtf_field_type']) {
                      $this->_hasAppointmentFields = true;
                      break;
                  }
              }
          }
  
          return $this->_hasAppointmentFields;
      }
code_tokens: public function hasAppointmentFields ( ) { if ( null === $ this -> _hasAppointmentFields ) { $ this -> _hasAppointmentFields = false ; foreach ( $ this -> _trackFields as $ field ) { if ( self :: TYPE_APPOINTMENT == $ field [ 'gtf_field_type' ] ) { $ this -> _hasAppointmentFields = true ; break ; } } } return $ this -> _hasAppointmentFields ; }
docstring: True when this track contains appointment fields
  
  @return boolean
docstring_tokens: True when this track contains appointment fields