def is_reverse_o2o(field):
 return (field.is_relation and field.one_to_one and (not field.concrete))

def is_reverse_o2o ( field ) : return ( field . is_relation and field . one_to_one and ( not field . concrete ) )
a little helper to check if the given field is reverse-o2o .