`api.check.is_preview_pane` now works with multiple inboxes enabled

This check was previously failing for people who had the "multiple inboxes" lab enabled, because the code was only checking `box[0]` but it was possible the user's first "box" wouldn't have a preview pane showing.