This returns a list of all loops, by calling Model.get_insertions() and Model.get_deletions().
If include_termini is False, any residue range that includes a chain terminus is excluded from the output.