This seems to happen often enough in this new code that having a utility `is_iterable` may be appropriate here? _Originally posted by @janden in https://github.com/ComputationalCryoEM/ASPIRE-Python/pull/911#discussion_r1167208839_