original_string: public function isChild($id)
      {
          $base = (substr($this->id, -2) == '.0')
              ? substr($this->id, 0, -1)
              : rtrim($this->id, '.') . '.';
  
          return ((($base == 0) && ($id != 0)) ||
                  (strpos(strval($id), strval($base)) === 0));
      }
code: public function isChild($id)
      {
          $base = (substr($this->id, -2) == '.0')
              ? substr($this->id, 0, -1)
              : rtrim($this->id, '.') . '.';
  
          return ((($base == 0) && ($id != 0)) ||
                  (strpos(strval($id), strval($base)) === 0));
      }
code_tokens: public function isChild ( $ id ) { $ base = ( substr ( $ this -> id , - 2 ) == '.0' ) ? substr ( $ this -> id , 0 , - 1 ) : rtrim ( $ this -> id , '.' ) . '.' ; return ( ( ( $ base == 0 ) && ( $ id != 0 ) ) || ( strpos ( strval ( $ id ) , strval ( $ base ) ) === 0 ) ) ; }
docstring: Determines if a given MIME ID lives underneath a base ID.
  
  @param string $id  The MIME ID to query.
  
  @return boolean  Whether $id lives under the base ID ($this->id).
docstring_tokens: Determines if a given MIME ID lives underneath a base ID .