Internal characterization of fragmentable spaces