API C LFGInfo.CanPlayerUseLFD

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

Returns

 * canUse : boolean
 * failureReason : string