comprobar si tinene una cllas jQuery

const element = document.querySelector("#box");

element.classList.contains("active");
Xanthous Xenomorph