Yeah; putting it inline in `_check_shapes` makes sense to me. I didn't like as this standalone function in `objects.py`, but if we just roll it into `_check_shapes`, that works too! That okay with you @hunse? Did you envision there being other places we might use this function? Or other `inspect` stuff?

PS: this one's going in my "Me, Dan & code" scrapbook!