Materialize Sidenav checking if open/closed

How can I check if Sidenav is open or closed? Unfortunately .sideNav does not allow event bubbling. I’ve noticed that its translateX value is changed when opening/closing. Is there any more elegant way to check state of sideNav and then “do something”?