Function EngineSingleton.hasSingleton

Returns true if a singleton with given name exists in global scope.

bool hasSingleton (
  const(String) name
) nothrow @nogc const;