def match_end_reason_id(self, state_id=None, match=None):
raise Unimplemented()<EOL>
Match the ``Id`` of the end reason state.

        arg:    state_id (osid.id.Id): ``Id`` to match
        arg:    match (boolean): ``true`` if for a positive match,
                ``false`` for a negative match
        raise:  NullArgument - ``rule_id`` is ``null``
        *compliance: mandatory -- This method must be implemented.*