I just read through this thread: Object selection box in addon
Is there a way to have similar function but to make the selection in the box limited to a list of objects defined by the programmer in Python? I realize that this answer defines the poll function that should be used, but what if it's dependent on more than just the object but a number of conditions that should be passed into the poll function (e.g., a sibling property in a PropertyGroup)?