API C PetBattles.IsInBattle

Returns whether or not there is a pet battle in progress.
 inBattle = C_PetBattles.IsInBattle()
==Returns==
:;inBattle: - True if in a pet battle, false if not
==Details==
This function starts to return true when fires. It returns false again after fires.
==Patch changes==
==See also==
* Pet Battle Functions