class EventMachine::Completion

def completed?

state is reserved for internal use.
this is :succeeded or :failed. Due to these semantics, the :completed
Indicates that we've reached some kind of completion state, by default
def completed?
  completion_states.any? { |s| state == s }
end