def METHOD_NAME(self, name, add_prefix=True):
    """Looks up for a GlobalVar with the given name in this supply. If no entry is found
    , creates one, places it in the cache and returns it.
    Parameters
    ----------
    name: String
        The name of the GlobalVar to search for.
    add_prefix: bool
        If set to true, the prefix of the contained NameSupply will be prepended to the
        name before performing the search.
    """
    return _ffi_api.GlobalVarSupply_UniqueGlobalFor(self, name, add_prefix)