I just realized that that function is not working, i tried to return a boolean with something like this
console.log($(selector).hover(function(){return true;})
but it returns an object with everything in it, what should a do to get a boolean variable?