.is() = overhead?

.is() = overhead?

issue:

  1. if($("#sometooltip").is(':visible')) {
            $("#sometooltip").remove();
    }


I'm wondering if it is useful to use the .is() function in spots like that. Will .remove() check if the element is in the DOM for itself?