def changes_on_update(model):
 return any(((column.onupdate is not None) for column in sqlalchemy_inspect(model).columns))

def changes_on_update ( model ) : return any ( ( ( column . onupdate is not None ) for column in sqlalchemy_inspect ( model ) . columns ) )
returns a best guess at whether the specified sqlalchemy model class is modified on updates .