Some logic that helps us quite a bit when dealing with models in our Go code.