class ElasticAPM::Transaction

def done?

def done?
  !!(@result && @duration)
end