@staticmethod
def interfaces_roles_change_and_tree_remains_or_transitions_to_active_state(
    interface: 'TreeInterfaceDownstream') ->None:
    """
        Tree remains or changes to Active state AND
        interface not directly connected to the source AND
        interface roles change (Root->Non-Root)
        """
    interface.logger.debug(
        'interfaces_roles_change_and_tree_remains_or_transitions_to_active_state'
        )
    interface.send_i_am_upstream()
