simplify check for OpenFOAM-Extend