Determine show/hide state

Determine show/hide state

Hi, is there a way to determine whether an element is in its "show"
state or "hide" state when using the toggle functionality?
--