API C LFGInfo.CanPlayerUsePVP

Returns true if the player is allowed to queue for instanced PvP content, or false and a reason string if not. canUse, failureReason = C_LFGInfo.CanPlayerUsePVP

Returns

 * canUse : boolean
 * failureReason : string