Adding the ability to define specific cases for internal option checks
This MR
- adds the ability to add specific cases to option checks to only perform the check in very specific cases. This way checks with finer granularity can be implemented in the future.