This line appears in enough places that you probably want to make it a utility method.