Added isLoaded method to sprite module