public function has(string $name): bool
    {
        $name = $this->getDefinitiveName($name);

        return isset($this->instances[$name]);
    }
public function has(string $name): bool
    {
        $name = $this->getDefinitiveName($name);

        return isset($this->instances[$name]);
    }
public function has ( string $ name ) : bool { $ name = $ this -> getDefinitiveName ( $ name ) ; return isset ( $ this -> instances [ $ name ] ) ; }
Returns whether an instance is currently stored or not.
Returns whether an instance is currently stored or not .