Since you have trans object, can't you just check ``trans['created']`` ?