Memoize checks on a per-request / app context, get rid of useless get_value function, and change var name