support for checking an existence of a class on selected element