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.