API InActiveBattlefield

Returns whether you are currently in a battleground/battlefield. inBattlefield = InActiveBattlefield

Returns

 * inBattlefield : Boolean - true if the player is in an active battlefield, false otherwise.