use is_a? for tag class matching