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

@param string $instanceName
@param string $setterName
@return boolean
489380
public function isParameterSetForSetter($instanceName, $setterName) {
		return isset($this->declaredInstances[$instanceName]['setterProperties'][$setterName]) || isset($this->declaredInstances[$instanceName]['setterBinds'][$setterName]);
	}
988174
private function findInstanceByCallbackType($instanceName) {
		// Note: we execute the code in another thread. Always.
		// This prevent crashing the main thread.
		try {
			$fullyQualifiedClassName = MoufReflectionProxy::getReturnTypeFromCode($this->declaredInstances[$instanceName]["code"], $this->getScope() == self::SCOPE_ADMIN);
			unset($this->declaredInstances[$instanceName]["error"]);
			unset($this->declaredInstances[$instanceName]["constructor"]);
			unset($this->declaredInstances[$instanceName]["fieldProperties"]);
			unset($this->declaredInstances[$instanceName]["setterProperties"]);
			unset($this->declaredInstances[$instanceName]["fieldBinds"]);
			unset($this->declaredInstances[$instanceName]["setterBinds"]);
			$this->declaredInstances[$instanceName]["class"] = $fullyQualifiedClassName;
		} catch (\Exception $e) {
			$this->declaredInstances[$instanceName]["error"] = $e->getMessage();
			unset($this->declaredInstances[$instanceName]["class"]);
			$fullyQualifiedClassName = null;
		}
		return $fullyQualifiedClassName;
	}
249905
public function bindComponent($instanceName, $paramName, $paramValue) {
		if ($paramValue == null) {
			unset($this->declaredInstances[$instanceName]["fieldBinds"][$paramName]);
		} else {
			$this->declaredInstances[$instanceName]["fieldBinds"][$paramName] = $paramValue;
		}
	}
459676
public function __isset($name)
    {
        foreach ($this->values as $valueObject) {
            if ($valueObject->getAttribute()->getName() == $name) {
                return true;
            }
        }

        return false;
    }
432732
private function checkDoNotHaveRequiredParametersOnCreate(string $className): bool
    {
        try {
            $reflection  = new ReflectionClass($className);
            if ($reflection->isInstantiable() === false) {
                throw new InvalidSettingsClassException($className);
            }
            if (($constructor = $reflection->getConstructor()) !== null) {
                foreach ($constructor->getParameters() as $parameter) {
                    if ($parameter->isOptional() === false && $parameter->isDefaultValueAvailable() === false) {
                        // there is no default constructor
                        throw new InvalidSettingsClassException($className);
                    }
                }
            }
        } catch (ReflectionException $exception) {
            throw new InvalidSettingsClassException($className, 0, $exception);
        }

        return true;
    }
768512
public function getParameterForConstructor($instanceName, $index) {
		if (isset($this->declaredInstances[$instanceName]['constructor'][$index]['value'])) {
			return $this->declaredInstances[$instanceName]['constructor'][$index]['value'];
		} else {
			return null;
		}
	}
365644
public function set($name, $instance)
    {
        $this->checkLockAndValidateName($name);

        $has = $this->has($name);

        if ($has && !$this->allowOverride) {
            throw new Exception\NotAllowedException();
        }

        if ($has) {
            $this->remove($name);
        }

        $normalized = $this->normalizeName($name);
        $this->names[$normalized] = $name;
        $this->instances[$name] = $instance;

        return $this;
    }
68808
public function unsetParameterForConstructor($instanceName, $index) {
		if (isset($this->declaredInstances[$instanceName]['constructor'])) {
			$max = count($this->declaredInstances[$instanceName]['constructor']);
			if($index != $max - 1) {
				// It is forbidden to unset a parameter that is not the last.
				// Let set null
				$this->setParameterViaConstructor($instanceName, $index, null, 'primitive');
			}
			else {
				unset($this->declaredInstances[$instanceName]['constructor'][$index]);
			}
		}
	}
363733
public function isPropertyPrivate($className, $propertyName)
    {
        $className = $this->prepareClassReflectionForUsage($className);
        return (isset($this->classReflectionData[$className][self::DATA_CLASS_PROPERTIES][$propertyName][self::DATA_PROPERTY_VISIBILITY])
            && $this->classReflectionData[$className][self::DATA_CLASS_PROPERTIES][$propertyName][self::DATA_PROPERTY_VISIBILITY] === self::VISIBILITY_PRIVATE);
    }
606941
func (s *CloseInstancePublicPortsInput) SetInstanceName(v string) *CloseInstancePublicPortsInput {
	s.InstanceName = &v
	return s
}
121184
func (s *GetInstanceAccessDetailsInput) SetInstanceName(v string) *GetInstanceAccessDetailsInput {
	s.InstanceName = &v
	return s
}
1261228
func (s *GetInstanceStateInput) SetInstanceName(v string) *GetInstanceStateInput {
	s.InstanceName = &v
	return s
}
536320
public function setInstanceAnonymousness($instanceName, $anonymous) {
		if ($anonymous) {
			$this->declaredInstances[$instanceName]['anonymous'] = true;
			// An anonymous object must be weak.
			$this->declaredInstances[$instanceName]['weak'] = true;
		} else {
			unset($this->declaredInstances[$instanceName]['anonymous']);
		}
	}
632826
public function containsMethodAnnotation($annotationName)
    {
        foreach ($this->getMethodAnnotations() as $annotations) {
            foreach ($annotations as $annotation) {
                if ($annotation instanceof $annotationName) {
                    return true;
                }
            }
        }

        return false;
    }
526207
func (s *OpenInstancePublicPortsInput) SetInstanceName(v string) *OpenInstancePublicPortsInput {
	s.InstanceName = &v
	return s
}
602697
public function getParameterTypeForSetter($instanceName, $setterName) {
		if (isset($this->declaredInstances[$instanceName]['setterProperties'][$setterName]['type'])) {
			return $this->declaredInstances[$instanceName]['setterProperties'][$setterName]['type'];
		} else {
			return null;
		}
	}
309860
public function __isset($name)
    {
        if (isset($this->instances[$name])) {
            return true;
        } elseif (isset($this->autoloader)) {
            try {
                $this->$name;
                return true;
            } catch (InvalidModuleException $e) {
            }
        }
        return false;
    }