only check constaints if asked to do so