import inspect


def is_transition_method(member: object) -> bool:
    """
    Returns true if the object member is a method named `transition`.
    Used for identifying the methods in a monitor that model transitions.
    :param member: the member object to check.
    :return: True iff the object member is a function named `transition`.
    """
    return inspect.ismethod(member) and member.__name__ == 'transition'