src/Container.php
public static function isSingleton($name)
    {
        if (!static::exists($name)) {
            return false;
        }
        if (empty(static::$classNames[$name]['singleton']) &&
            empty(static::$classAliases[$name]['singleton'])
        ) {
            return false;
        }

        return true;
    }
public static function isSingleton($name)
    {
        if (!static::exists($name)) {
            return false;
        }
        if (empty(static::$classNames[$name]['singleton']) &&
            empty(static::$classAliases[$name]['singleton'])
        ) {
            return false;
        }

        return true;
    }
public static function isSingleton ( $ name ) { if ( ! static :: exists ( $ name ) ) { return false ; } if ( empty ( static :: $ classNames [ $ name ] [ 'singleton' ] ) && empty ( static :: $ classAliases [ $ name ] [ 'singleton' ] ) ) { return false ; } return true ; }
Is single of class.

@param string $name name/alias of class.
@return null
Is single of class .