Type function Return value Boolean Revision 2017.3060 Keywords ads, advertising, vungle See also vungle.* 
Vungle downloads and caches the next video ad for optimal user experience. This function returns true or false depending on the availability of a cached ad.
vungle.isAdAvailable()
local ads = require( "ads" )
ads.init( "vungle", "myAppId" )
if ( ads.isAdAvailable() ) then
    ads.show( "interstitial" )
end