Turns out we already had a method for that.

Removed salt.rb until I come up with a better (read: correct) way to track state.