Checks whether organization data (name, unique name, ID, version) is stored in Settings

@return bool
339686
public function hasOrganizationData() {
        return ( !is_null( $this->organizationName ) && !is_null( $this->organizationUniqueName )
                 && !is_null( $this->organizationId ) && !is_null( $this->organizationVersion ) );
    }
1039236
public function hasSeoMetadata()
    {
        if ($this->seoMetadata instanceof ArrayIterator) {
            return (count($this->seoMetadata) > 0);
        }

        return !empty($this->seoMetadata);
    }
742524
private function ensureStorage()
    {
        if (!isset($this->storage)) {
            $this->storage = $this->getCache()->get($this->cacheKey);

            if ($this->storage === false) {
                $this->storage = $this->getSettingsStorage()->getBounded($this->settingsStorageKey);
                $this->cache();
            }
        }

        return $this->storage;
    }
929145
public function hasSharedStrings()
    {
        $hasSharedStrings = false;
        $zip = new \ZipArchive();

        if ($zip->open($this->filePath) === true) {
            $hasSharedStrings = ($zip->locateName(self::SHARED_STRINGS_XML_FILE_PATH) !== false);
            $zip->close();
        }

        return $hasSharedStrings;
    }
590392
public function exists(): bool
    {
        $key = $this->getStorageKey();

        return $key && $this->getFlexDirectory()->getStorage()->hasKey($key);
    }
904558
public function isExist()
    {
        $this->mustBeDataModel();

        if ($this->isLoaded()) {
            return  true;
        }

        return (bool)$this->find([
            'where' => $this->pkvAsWhere()
        ])->fetchCount();
    }
928277
protected function validateDataMetaDescriptionStore()
    {
        $options = $this->options;
        $this->options += array('parents' => 'data');
        $result = $this->validateMetaDescription();
        $this->options = $options;

        return $result;
    }
1114885
protected function isIdSet()
    {
        if (isset($this->data[$this->id_name])) {
            if (filter_var($this->data[$this->id_name], FILTER_VALIDATE_INT)) {
                return (int) $this->data[$this->id_name] > 0;
            }

            return mb_strlen(trim($this->data[$this->id_name])) > 0;
        }
        
        return false;
    }
275524
public function __isset( $name )
    {
        return ( isset( $this->properties[$name] ) || isset( $this->storageOptions->$name ) );
    }
1204057
public function checkIntegrity()
    {
        $combine = array_merge(['put' => array_diff_assoc($_SESSION, $this->sessionHandler->all())],['forget' => array_keys(array_diff_assoc($this->sessionHandler->all(), $_SESSION))]);
        if ($combine) {
            foreach($combine as $method => $dataArray) {
                if (!empty($dataArray)) {
                    $this->sessionHandler->$method($dataArray);
                }
            }
        }
        return true;
    }
771590
public function isModified()
    {
        if ($this->read_only) {
            return false;
        }

        foreach ($this->getProperties() as $name => $value) {
            $hashed_value = $this->getHashValue($value);
            if (
                isset($this->property_hashes[$name]) &&
                $hashed_value !== $this->property_hashes[$name]
            ) {
                return true;
            }
        }

        foreach ($this->internal_property_autosave as $name => $autosave) {
            if ($autosave && isset($this->sub_data_objects[$name])) {
                $object = $this->sub_data_objects[$name];
                if (
                    $object instanceof SwatDBRecordable &&
                    $object->isModified()
                ) {
                    return true;
                }
            }
        }

        foreach ($this->sub_data_objects as $name => $object) {
            $saver_method =
                'save' . str_replace(' ', '', ucwords(strtr($name, '_', ' ')));

            if (method_exists($this, $saver_method)) {
                $object = $this->sub_data_objects[$name];
                if (
                    $object instanceof SwatDBRecordable &&
                    $object->isModified()
                ) {
                    return true;
                }
            }
        }

        return false;
    }
750681
public function checkEnvironmentVariables()
    {
        $settingsValues = array();
        $iniSettings = array(
            'memory_limit', 'max_execution_time', 'upload_max_filesize'
        );

        foreach($iniSettings as $setting) {
            $settingsValues[$setting] = ini_get($setting);
        }

        return $settingsValues;
    }
678610
protected function isSaved(): bool
    {
        return $this->filesystem->has($this->path)
            && $this->filesystem->getTimestamp($this->path) > $this->file->getUpdatedAt();
    }
1279895
public function getStored()
    {
        $stored = [];
        try {
            $query = (new Query)->from(static::tableName())->all();
            if (!empty($query)) {
                foreach ($query as $setting) {
                    $stored[$setting['name']] = $setting['value'];
                }
            }
        } catch (Exception $e) {
            if (Podium::getInstance()->getInstalled()) {
                Log::error($e->getMessage(), null, __METHOD__);
            }
        }
        return $stored;
    }
562483
public function isAllowedOrganization($organizationId)
    {
        $orgs = $this->getAllowedOrganizations();

        return isset($orgs[$organizationId]) || (\Gems_User_UserLoader::SYSTEM_NO_ORG == $organizationId);
    }
138334
public function isIgnored()
    {
        // don't ignore primary key
        if ($this->isPrimary) {
            return false;
        }
        // don't ignore when configuration is not set
        if (!$this->getConfig()->get(Formatter::CFG_SKIP_COLUMN_WITH_RELATION)) {
            return false;
        }
        // don't ignore when column has no relation
        if (0 === (count($this->getLocalForeignKeys()) + count($this->getForeignKeys()))) {
            return false;
        }

        return true;
    }
225385
protected function checkSettings()
    {
        if (empty($this->settings['additional']['detailPid'])) {
            $this->settings['additional']['detailPid'] = $GLOBALS['TSFE']->id;
        }

        if (empty($this->settings['additional']['listPid'])) {
            $this->settings['additional']['listPid'] = $GLOBALS['TSFE']->id;
        }

        if (empty($this->settings['associationID'])) {
            $this->addFlashMessage(
          'Please set a association',
          'Configuration Error',
          FlashMessage::ERROR
        );
        }
    }