Predicate methods for those curious about their Ruby datastructures.