Is it possible to execute a custom function on the entry crud methods?
You'd have to create a plugin but you could listen for the entries.saveEntry event that is noted here: http://buildwithcraft.com/docs/plugins/hooks-and-events

Then lookup the value, run validation and even return a custom error message if things were not saved correctly.

Hope this helps.