Returns true if the value of the given parameter is set.
False otherwise.

@param string $instanceName
@param string $paramName
@return boolean
485620
public function isParameterSet($instanceName, $paramName) {
		return isset($this->declaredInstances[$instanceName]['fieldProperties'][$paramName]) || isset($this->declaredInstances[$instanceName]['fieldBinds'][$paramName]);
	}
1046240
public function hasParameter($paramName, $namespace = null, $scope = null)
    {
        // $paramName must have a '.' as it separates INI section and actual parameter name.
        // e.g. DebugSettings.DebugOutput
        if (!$this->isValidParameterName($paramName)) {
            return false;
        }

        $namespace = $namespace ?: $this->defaultNamespace;
        $namespace = str_replace('.ini', '', $namespace);
        list($iniGroup, $paramName) = explode('.', $paramName, 2);

        return $this->getLegacyKernel()->runCallback(
            static function () use ($iniGroup, $paramName, $namespace, $scope) {
                if (isset($scope)) {
                    $ini = eZINI::getSiteAccessIni($scope, "$namespace.ini");
                } else {
                    $ini = eZINI::instance("$namespace.ini");
                }

                return $ini->hasVariable($iniGroup, $paramName);
            },
            false,
            false
        );
    }
1185465
protected function hasProperty(string $propertyName): bool
    {
        if (count($this->values) === 1
          && isset($this->values['__value'])
          && 'value' === $propertyName) {
            return isset($this->values['__value']);
        }

        return isset($this->values[$propertyName]);
    }
914968
public function get($instanceName) {
		if (!isset($this->objectInstances[$instanceName]) || $this->objectInstances[$instanceName] == null) {
			$this->instantiateComponent($instanceName);
		}
		return $this->objectInstances[$instanceName];
	}
1273013
public function getParameter($instanceName, $paramName) {
		// todo: improve this
		if (isset($this->declaredInstances[$instanceName]['fieldProperties'][$paramName]['value'])) {
			return $this->declaredInstances[$instanceName]['fieldProperties'][$paramName]['value'];
		} else {
			return null;
		}
	}
602697
public function getParameterTypeForSetter($instanceName, $setterName) {
		if (isset($this->declaredInstances[$instanceName]['setterProperties'][$setterName]['type'])) {
			return $this->declaredInstances[$instanceName]['setterProperties'][$setterName]['type'];
		} else {
			return null;
		}
	}
899470
public function setParameter($instanceName, $paramName, $paramValue, $type = "string", array $metadata = array()) {
		if ($type != "string" && $type != "config" && $type != "request" && $type != "session" && $type != "php") {
			throw new MoufContainerException("Invalid type. Must be one of: string|config|request|session. Value passed: '".$type."'");
		}
		
		$this->declaredInstances[$instanceName]["fieldProperties"][$paramName]["value"] = $paramValue;
		$this->declaredInstances[$instanceName]["fieldProperties"][$paramName]["type"] = $type;
		$this->declaredInstances[$instanceName]["fieldProperties"][$paramName]["metadata"] = $metadata;
	}
513929
private function isExistingPropertySetterAvailable(string $propertyName): bool
    {
        assert($this->propertyExists($propertyName));
        if ($this->isExistingPropertyVirtual($propertyName)) {
            return !is_null($this->virtualSetters[$propertyName]);
        } else {
            return $this->realSetAvailable[$propertyName];
        }
    }
1119109
public function getInstanceType($instanceName) {
		if (isset($this->declaredInstances[$instanceName]['class'])) {
			return $this->declaredInstances[$instanceName]['class'];
		} else {
			return null;
		}
	}
1291423
public function isInstanceAnonymous($instanceName) {
		if (isset($this->declaredInstances[$instanceName]['anonymous'])) {
			return $this->declaredInstances[$instanceName]['anonymous'];
		} else {
			return false;
		}
	}
486630
public function __isset($columnName) {
        // Check if native column from database.
        $result = parent::__isset($columnName);
        if (!$result) {
            // Check if "virtual" column added thru Garp modification.
            $result = array_key_exists($columnName, $this->_related) ||
                array_key_exists($columnName, $this->_virtual);
        }
        return $result;
    }
858602
public function hasParameter($paramName, $namespace = null, $scope = null)
    {
        foreach ($this->getAllResolvers() as $resolver) {
            $hasParameter = $resolver->hasParameter($paramName, $namespace, $scope);
            if ($hasParameter) {
                return true;
            }
        }

        return false;
    }
142350
public function hasPropertyChanged($propertyName)
    {
        $propertyValue = null;
        $inSnapshot = isset($this->changeSnapshotData[$propertyName]);
        $inModelData = isset($this->modelData[$propertyName]);
        if (!$inModelData && $inSnapshot) {
            // Key removed.
            return true;
        } elseif ($inModelData) {
            // Determine the current value (if it's safe to do so)
            $propertyValue = $this->modelData[$propertyName];
        }

        if (!$inSnapshot) {
            if ($propertyValue === null) {
                // Value is NULL so isset will have failed. Setting a previously unset key to NULL is treated as no change
                return false;
            }

            // Key added
            return true;
        }

        if ((is_string($propertyValue) && is_string($this->changeSnapshotData[$propertyName])) && $this->changeSnapshotData[$propertyName] !== $propertyValue) {
            return true;
        }

        if ($this->changeSnapshotData[$propertyName] != $propertyValue) {
            // Key changed
            return true;
        }

        return false;
    }
261998
protected function isParameterIgnored($parameterName)
    {
        if (empty($this->ignoreParameters)) return false;

        return (array_search($parameterName, $this->ignoreParameters) !== false);
    }
1161084
public function containsParam(ModelStorageDecorator $storedModel, $param): bool
    {
        if (!$storedModel || !$param) {
            return false;
        }
        $reflection = $storedModel->getReflection();

        foreach ($param as $propertyName => $propertyValue) {
            if (!($p = $reflection->getProperty($propertyName))) {
                return false;
            }

            if ($p->isPublic()) {
                if ($propertyValue !== $storedModel->$propertyName) {
                    return false;
                }
            }

            if ($p->isPrivate() || $p->isProtected()) {
                $p->setAccessible(true);
                if ($propertyValue !== $storedModel->$propertyName) {
                    return false;
                }
            }
        }

        return true;
    }
783160
public function getCode($instanceName) {
		if (isset($this->declaredInstances[$instanceName]["code"])) {
			return $this->declaredInstances[$instanceName]["code"];
		}
		return null;
	}
475726
public function unsetParameterForSetter($instanceName, $setterName) {
		unset($this->declaredInstances[$instanceName]['setterProperties'][$setterName]);
		unset($this->declaredInstances[$instanceName]['setterBinds'][$setterName]);
	}