Fixed #23493 -- Added bilateral attribute to Transform
Fixed #23721 -- check_related_objects without calling __iter__

Refs #14334
Used more specific asserts than assertTrue in the Django test suite.

Refs #23620.