This function is duplicated in both ```riak_kv``` and ```riak_repl```.  Can't this be in core, and take a parameter instead of what property to inspect in the environment, if required?