/**
  * @param Album $album
  * @return bool
  */
 private function hasNoThumbnails($album)
 {
     $sizes = $album->getSettings()->getThumbnailSize();
     return empty($sizes) || empty($sizes[0]) || $album->getMedia()->count() === 0;
 }
 /**
  * {@inheritDoc}
  */
 public function getMedia()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedia', array());
     return parent::getMedia();
 }