def is_transition_allowed(transition, silent=False):
    """Checks whether a transition is currently allowed.
        This will automatically add warning / error messages unless
        ``silent=True`` is passed.
        """
