is() function to check dom