Do extension conditions perform object picking?

i had the same issues with picking objects in functions.
i got the impression that if you pick an object inside a function it is picked only inside the function itself, and gets unpicked right afterwards.

maybe it was just in relation to groups, not entirely sure, if it is this might be the reason.
Deserves some testing