[Datepicker] determine if a datepicker is open or not

[Datepicker] determine if a datepicker is open or not

Hi,

Is there an option that can tell me if a datepicker is open or not?
It could be interesting if this option can be used anywhere in my javascript code (aka in highlight of validate)

Thanks for your help,