# File lib/core/event.rb, line 145
    def condition
      (context.remote_condition if context.respond_to? :remote_condition) ||
        (context.condition if context.respond_to? :condition)
    end