[FOLD] Make isMemoOkay const