However in the time you're "testing" you could simply go ahead and just write it. In fact years ago there was a post that did some type of testing and writing the change/addition was faster than checking and making a decision to write it.

If you need it logged though for sure then you'd need to read and write back what was found.