How to Check if there is a Parked Call in an extension?

Within a script in extensions.conf, how can I programatically check whether a
particular parking extension has currently a call parked in it?

Assuming there exists a parked call, how can I access the call’s channel variables?

Thanks for any help/reference.