code: def conditions_match?(data)
        if conditions
          conditions.all? {|(key, value)| data[key] == value}
        else
          true
        end
      end
docs: Determines whether the conditions configured for this handler match the
   event data