def attr_le(accessing_obj, accessed_obj, *args, **kwargs):
 return attr(accessing_obj, accessed_obj, *args, **{'compare': 'le'})

def attr_le ( accessing_obj , accessed_obj , * args , ** kwargs ) : return attr ( accessing_obj , accessed_obj , * args , ** { 'compare' : 'le' } )
usage: attr_gt only true if access_objs attribute <= the value given .