finesse.datastore.has_singleton

finesse.datastore.has_singleton(cls)[source]

Determine if cls is instantiated.

Parameters

cls : type

The singeton class to check.

Returns

bool

True if an instance exists, False otherwise.