Pablo

hasClass(name)

Returns boolean true if any element in the collection has the CSS class, otherwise false.

var rect = Pablo.rect({'class': 'john paul george ringo'});
alert(rect.hasClass('george')); // true
Painting is just another way of keeping a diary.
Pablo Picasso