original_string: public function thumbnailExists($type = 'page')
      {
          $thumbs = $this->get('thumbnails');
          if (isset($thumbs[$type])) {
              return true;
          }
          return false;
      }
code: public function thumbnailExists($type = 'page')
      {
          $thumbs = $this->get('thumbnails');
          if (isset($thumbs[$type])) {
              return true;
          }
          return false;
      }
code_tokens: public function thumbnailExists ( $ type = 'page' ) { $ thumbs = $ this -> get ( 'thumbnails' ) ; if ( isset ( $ thumbs [ $ type ] ) ) { return true ; } return false ; }
docstring: Helper method to determine if this media item has a thumbnail or not
  
  @param string $type;
  
  @return bool
docstring_tokens: Helper method to determine if this media item has a thumbnail or not