Added Row.isUpdateable and pushed this out to the soy template.  This simplifies the logic in the template somewhat