original_string: function isEmpty()
      {
          // If $this->subfields is null, we must have deleted it
          if (!$this->subfields) {
              return true;
          }
  
          // Iterate through the subfields looking for some data
          foreach ($this->subfields as $subfield) {
              // Check if subfield has data
              if (!$subfield->isEmpty()) {
                  return false;
              }
          }
          // It is empty
          return true;
      }
code: function isEmpty()
      {
          // If $this->subfields is null, we must have deleted it
          if (!$this->subfields) {
              return true;
          }
  
          // Iterate through the subfields looking for some data
          foreach ($this->subfields as $subfield) {
              // Check if subfield has data
              if (!$subfield->isEmpty()) {
                  return false;
              }
          }
          // It is empty
          return true;
      }
code_tokens: function isEmpty ( ) { // If $this->subfields is null, we must have deleted it if ( ! $ this -> subfields ) { return true ; } // Iterate through the subfields looking for some data foreach ( $ this -> subfields as $ subfield ) { // Check if subfield has data if ( ! $ subfield -> isEmpty ( ) ) { return false ; } } // It is empty return true ; }
docstring: Checks if the field is empty.
  
  Checks if the field is empty. If the field has at least one subfield
  with data, it is not empty.
  
  @return bool Returns true if the field is empty, otherwise false
docstring_tokens: Checks if the field is empty .