protected function setInstance(string $name, $object):bool
    {
        if (!isset(self::$instances[$name])) {
            self::$instances[$name] = $object;
            return (true);
        }
        throw new Server500(new \ArrayObject(array("explain" => "Cannot redeclare instance name $name as new instance",
            "solution" => "Please use SingletonMulPattern correctly")));
    }