check if expiration date can be checked by the compiler