See detectCongruence(CubicFourfold) and detectCongruence(GushelMukaiFourfold).
The object detectCongruence is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/SpecialFanoFourfolds/docs.m2:205:0.