Determines if a view has previous been loaded or not

@param string $sView The view to checl

@return bool
16816
public function isLoaded(string $sView): bool
    {
        try {
            return array_key_exists(
                $this->resolvePath($sView),
                $this->aLoadedViews
            );
        } catch (ViewNotFoundException $e) {
            return false;
        }
    }
238702
public function isOverloaded(): bool
    {
        foreach ($this->getParams() as $parameter) {
            if ($parameter->isOptionalWithNoDefault() && !$parameter->isByReference()) {
                return true;
            }
        }
        return false;
    }
1298999
function hasAttached($loaderName)
    {
        $loaderName = $this->_normalizeLoaderName($loaderName);
        return in_array($loaderName, $this->listAttached());
    }
1291523
protected function &GetAdditionalViewVariables($sViewName, $sViewType)
    {
        $aViewVariables = parent::GetAdditionalViewVariables($sViewName, $sViewType);

        $aViewVariables['oWrappingList'] = TdbShopWrappingList::GetList();
        $aViewVariables['oCardList'] = TdbShopWrappingCardList::GetList();

        return $aViewVariables;
    }
857280
function hasViewResult( $view = '' )
    {
        if ( $view == '' )
            $view = $this->currentView();
        return isset( $this->ViewResult[$view] );
    }
1162245
final public function hasChanged() {

		$class = get_called_class();
		$varFields = $class::getBinds();

		// create a new similar object that populates properly
		$newObj = new $class($this->{$this->keyProperties});
		
		if (!$newObj) return TRUE;
		
		foreach ($varFields as $property => $field) {
			if ($this->$property != $newObj->$property) {
				return TRUE;
			}
		}
		
		return FALSE;
		
	}
371217
public function clearViewCache()
	{
	    $modules = $this->getModules();
	    if ($modules) foreach ($modules as $module) {
	        if ($instance = $this->getModule($module)) {
	            $instance->getView()->clearCache();
	        }
	    }
	    return true;
	}
1030076
private function isCurrentlyLastPage()
    {
        if ($this->page_number_type === 'start_num') {
            if ($this->page_number_value >= ($this->total_pages*$this->items_per_page)-$this->items_per_page) {
                return true;
            }
            return false;
        } elseif ($this->page_number_type === 'page_num') {
            if ($this->page_number_value >= $this->total_pages) {
                return true;
            }
            return false;
        }
        return false;
    }
513251
private function isExpired(string $viewPath) : bool
    {
        $lastModified = DateTime::createFromFormat('U', filemtime($viewPath));

        return $lastModified < new DateTime('-' . $this->lifetime . ' seconds');
    }
906177
public function isLoaded($identifier)
    {
        $user = $this->getObject('user');

        // Find the user id
        if (!is_numeric($identifier))
        {
            if(!$identifier = JUserHelper::getUserId($identifier)) {
                $identifier = 0;
            }
        }

        if($identifier == 0 || $user->getId() != $identifier) {
            $result = isset($this->_users[$identifier]);
        } else {
            $result = true;
        }

        return $result;
    }
696720
protected function checkBrowserIceweasel()
    {
        if (stripos($this->_agent, 'Iceweasel') !== false) {
            $aresult = explode('/', stristr($this->_agent, 'Iceweasel'));
            $aversion = explode(' ', $aresult[1]);
            $this->setVersion($aversion[0]);
            $this->setBrowser(self::BROWSER_ICEWEASEL);

            return true;
        }

        return false;
    }
1229902
public function & SetView (\MvcCore\IView & $view) {
		parent::SetView($view);

		if (self::$appRoot === NULL) self::$appRoot = $this->request->GetAppRoot();
		if (self::$basePath === NULL) self::$basePath = $this->request->GetBasePath();
		if (self::$scriptName === NULL) self::$scriptName = ltrim($this->request->GetScriptName(), '/.');
		$app = $view->GetController()->GetApplication();
		$configClass =$app->GetConfigClass();
		self::$loggingAndExceptions = $configClass::IsDevelopment(TRUE);
		$mvcCoreCompiledMode = $app->GetCompiled();

		self::$ctrlActionKey = $this->request->GetControllerName() . '/' . $this->request->GetActionName();

		// file checking is true only for classic development mode, not for single file mode
		if (!$mvcCoreCompiledMode) self::$fileChecking = TRUE;

		// file rendering is true for classic development state, SFU app mode
		if (!$mvcCoreCompiledMode || $mvcCoreCompiledMode == 'SFU') {
			self::$fileRendering = TRUE;
		}

		if (is_null(self::$assetsUrlCompletion)) {
			// set URL addresses completion to true by default for:
			// - all package modes outside PHP_STRICT_HDD and outside development
			if ($mvcCoreCompiledMode && $mvcCoreCompiledMode != 'PHP_STRICT_HDD') {
				self::$assetsUrlCompletion = TRUE;
			} else {
				self::$assetsUrlCompletion = FALSE;
			}
		}

		self::$systemConfigHash = md5(json_encode(self::$globalOptions));

		return $this;
	}
249148
public function hasChanged()
    {
        foreach ($this->modelData as $property => $value) {
            if ($this->hasPropertyChanged($property)) {
                return true;
            }
        }

        // In case model data has been manually unset
        $manuallyUnsetProperties = array_diff_key($this->changeSnapshotData, $this->modelData);
        foreach ($manuallyUnsetProperties as $property => $value) {
            // If it wasn't null before, that's a change
            if ($value !== null) {
                return true;
            }
        }

        return false;
    }
127231
public function isRemembered() {
		if (isset($_SESSION) && isset($_SESSION[self::SESSION_FIELD_REMEMBERED])) {
			return $_SESSION[self::SESSION_FIELD_REMEMBERED];
		}
		else {
			return null;
		}
	}
547982
public function has()
    {
        if (!Request::has('position')) {
            return false;
        }

        if (isset($this->item->position)) {
            return true;
        }

        if (!empty($this->pivot) && isset($this->pivot->position)) {
            return true;
        }

        return false;
    }
533330
private static function _checkLoaded()
    {
        $cls = get_called_class();
        if (!array_key_exists($cls, self::$_loaded)) {
            self::$_loaded[$cls] = false;
        }
        if (!self::$_loaded[$cls]) {
            self::_loadColumns();
        }
    }
395149
private function checkView()
    {
        exception_if((is_null($this->mailable->get('_view')) && is_null($this->mailable->get('_text'))), MailViewNotFoundException::class);
    }