The method _is_looped_path_attrs did not return True when a BGP loop was detected.
This had the effect of not rejecting the new route learn by the peer even though the local AS was in the AS Path.
Closes-Bug: #2115510
Change-Id: Icf346e1aa99f526f416ff1422fa0bd4cfd1ba438
Signed-off-by: Amo <anas.jouhdy@gmail.com>