Axiom G (Groupoid recognition axiom). A category is an anima if and only if it is a groupoid.

From Overview of the axioms.