Predicate methods for those curious about their ruby datastructures.