make `isSimple' simpler