A utility for query-like predicate testing of Django model instances