class Lato::ApplicationJob

def operation?

This method is used to check if the job is running inside an operation.
def operation?
  !!@operation
end