original_string: public function isDirty($name)
      {
          /** @type Field_Base $field */
          $field = $this->getElement($name);
  
          return $this->dirty[$name] ||
              (!$this->loaded() && $field->has_default_value);
      }
code: public function isDirty($name)
      {
          /** @type Field_Base $field */
          $field = $this->getElement($name);
  
          return $this->dirty[$name] ||
              (!$this->loaded() && $field->has_default_value);
      }
code_tokens: public function isDirty ( $ name ) { /** @type Field_Base $field */ $ field = $ this -> getElement ( $ name ) ; return $ this -> dirty [ $ name ] || ( ! $ this -> loaded ( ) && $ field -> has_default_value ) ; }
docstring: Return true if the field is set.
  
  @param string $name
  
  @return bool
docstring_tokens: Return true if the field is set .