function DataStore.DidLoadFail(G)if not G._loadPromise then return false end if G._loadPromise:IsRejected()then return true end return false end function DataStore.PromiseLoadSuccessful(G)return(G._maid:GivePromise(G:_promiseLoad())):Then(function()return true end,function()return false end)end
--[=[
	Returns whether the datastore failed.
	@return boolean
]=]
function DataStore:DidLoadFail()
	if not self._loadPromise then
		return false
	end

	if self._loadPromise:IsRejected() then
		return true
	end

	return false
end

function DataStore:PromiseLoadSuccessful()
	return self._maid:GivePromise(self:_promiseLoad()):Then(function()
		return true
	end, function()
		return false
	end)
end
