adds style/hasClass.js

Checks whether for the existence of multiple classes. Similar tod [`classList.contains`](https://developer.mozilla.org/en-US/docs/Web/API/element.classList)