Returns whether the view was already rendered.

@return bool    Whether this view's widget is rendered.
559088
public function isRendered()
    {
        $hasChildren = 0 < count($this->children);

        if (true === $this->rendered || !$hasChildren) {
            return $this->rendered;
        }

        if ($hasChildren) {
            foreach ($this->children as $child) {
                if (!$child->isRendered()) {
                    return false;
                }
            }

            return $this->rendered = true;
        }

        return false;
    }
959458
public function valid() {
    if (isset($this->resources[$this->position])) {
      return true;
    }
    $this->preloadPage();
    return isset($this->resources[$this->position]);
  }
1304664
protected function isRefresh()
    {
        return $this->wei->isDebug()
            && $this->request->getServer('HTTP_PRAGMA') == 'no-cache'
            && strpos($this->request->getServer('HTTP_USER_AGENT'), 'wechatdevtools') === false;
    }
991010
public function shouldDisplay(): bool
    {
        if ($this->before || $this->after) {
            return true;
        }

        return (bool) count($this->children);
    }
1228757
public static function isWindows() : bool
    {
        // Return the cached result if it's already available.
        if (null !== static::$type) {
            return static::$type === self::TYPE_WINDOWS;
        }

        return static::getType() === self::TYPE_WINDOWS;
    }
540979
public function isShownInMenu()
    {
        if (!$this->isPage) return false;
        if ($this->generator instanceof Kwc_Root_Category_Generator) {
            //it's not worth for this single special case to add a generator method, but should be done if other special cases are needed
            return !$this->row->hide;
        } else {
            if (!$this->generator->hasSetting('showInMenu')) return false;
            return (bool)$this->generator->getSetting('showInMenu');
        }
    }
676800
public function is_logged_in()
	{
		$page = $this->getSession()->getPage();
		if ( $page->find( "css", ".logged-in" ) ) {
			return true;
		} elseif ( $page->find( "css", ".wp-admin" ) ) {
			return true;
		}

		return false;
	}
583060
public static function isHtmlView()
    {
        if (self::$_isHtmlView === NULL) {
            self::$_isHtmlView = false;

            $view = Registry::get('view');
            if ($view === NULL) {
                $template = ViewAbstract::getTemplateConfig();
                if (is_array($template)
                    and isset($template['type'])
                    and $template['type'] === ViewInterface::TYPE_HTML) {
                    self::$_isHtmlView = true;
                }
            } else if ($view instanceof View and $view->getType() == ViewInterface::TYPE_HTML) {
                self::$_isHtmlView = true;
            }
        }

        return self::$_isHtmlView;
    }
372085
protected function isReady()
    {
        if($requiredArgs = $this->requirementCheck())
            throw new InvalidArgumentException('View.render : Missing required argument(s) for view ['. $this->path .'] : '. implode(', ', $requiredArgs) .'');

        if($this->path == null)
            throw new InvalidArgumentException('Path was not set');

        return true;
    }
388283
public function render()
    {
        if ( ! $this->hasPages()) {
            return null;
        }

        return sprintf(
            $this->wrapper,
            $this->getPreviousButton(),
            $this->getLinks(),
            $this->getNextButton()
        );
    }
637052
public function is()
	{
		$this->routes = array(); 

		foreach(func_get_args() as $param)
		{
			if(!is_array($param))
			{
				$this->routes[] = $param;
				continue;
			}

			foreach ($param as $p) 
			{
				$this->routes[] = $p;
			}
		}

		$this->request = Request::path();

		$this->parseRoutes();

		foreach($this->routes as $route)
		{
			if(!Request::is($route))
			{
				continue;
			}

			foreach($this->bad_routes as $bad_route)
			{
				if(str_is($bad_route, $this->request))
				{
					return false;
				}
			}

			return true;		
		}

		return false;
	}
1339389
private function isCached()
    {
        $filters = false;

        if ($this->cacheSettings) {
            if ($this->cache) {
                $filters = $this->cache->getCache();
            }
        }

        return $filters;
    }
631781
protected static function isHtmlResponse () {
		$app = static::$app ?: (static::$app = & \MvcCore\Application::GetInstance());
		$request = & $app->GetRequest();
		if ($request->IsInternalRequest()) return FALSE;
		$response = & $app->GetResponse();
		return $response->HasHeader('Content-Type') && $response->IsHtmlOutput();
	}
1046562
public function actionIndex()
    {
        $app = Yii::$app;

        if ($app->getRequest()->getIsAjax()) {
            return false;
        }

        return $this->render($app->maintenanceMode->viewPath, [
            'title' => $app->maintenanceMode->title,
            'message' => $app->maintenanceMode->message
        ]);
    }
553342
public function hasTabs(): bool
    {
        if ( ! $this->layout || ! count($this->layout)) {
            return false;
        }

        foreach ($this->layout as $key => $value) {

            if ($value instanceof ModelFormTabDataInterface) {
                return true;
            }
        }

        return false;
    }
316820
public function isChecked()
    {
        if (null == $this->checked) {
            $this->checked = StaticFilter::filter(
                Boolean::class,
                $this->getValue()
            );
        }
        return $this->checked;
    }
1097848
protected function getCachedView()
    {
        if ($this->hasCachedView()) {
            $key = $this->getCacheKey();

            return $this->cache->get($key);
        }

        return false;
    }