code: public function getTheme($name)
      {
          /* @var $theme Theme */
          foreach ($this->items as $theme) {
              if ($theme instanceof Theme && $theme->getName() == $name) {
                  return $theme;
              }
          }
  
          return false;
      }
docs: @param $name
  
  @return bool|Theme