Pablo

some(filter, [context])

alias: is(filter, [context])

Returns true if at least one element in the collection satisfies the provided filter, which may be a CSS selector, function or element.

var shapes = Pablo(),
    outcome;

shapes.add(Pablo.rect());
shapes.add(Pablo.rect());
shapes.add(Pablo.rect());
shapes.add(Pablo.circle()); // Change me

// Check if some elements are circles

outcome = shapes.some('circle');

alert(outcome);
Painting is just another way of keeping a diary.
Pablo Picasso