def transition_to_state(content, request, to_state, context=None, guards=(),
    skip_same=True):
    """ Execute a transition to another state using a state name
        (``to_state``).  If ``skip_same`` is True, and the
        ``to_state`` is the same as the content state, do nothing."""
