isolate code that checks symmetry

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>