January 19th 2020
Check if a panel is a leaf panel with an associated view
the standard custom layer context pointer
the id of the panel to query
non-zero if the panel exists and is a leaf panel in the panel layout tree
The panel layout tree is a binary tree with internal panels having exactly two children and a split rule, and leaf panels having an associated view.