I have seen this jQuery syntax:
if($(element).is(\':hover\')) { do something}
Since I am not using jQuery, I am looking for the best way to
Simply using element.matches(':hover') seems to work well for me, you can use a comprehensive polyfill for older browsers too: https://developer.mozilla.org/en-US/docs/Web/API/Element/matches
element.matches(':hover')