gboolean g_irepository_is_registered GIRepository * self utf8 namespace_ utf8 version is_registered @accepts(utf8, utf8) @returns(gboolean) def GIRepository.Repository.is_registered(namespace_, version)

Check whether a particular namespace (and optionally, a specific version thereof) is currently loaded. This function is likely to only be useful in unusual circumstances; in order to act upon metadata in the namespace, you should call g_irepository_require() instead which will ensure the namespace is loaded, and return as quickly as this function will if it has already been loaded.

namespace_ :

Namespace of interest

version :

Required version, may be %NULL for latest

Returns :

%TRUE if namespace-version is loaded, %FALSE otherwise