def links_differ(link1, link2):
    """Return whether two links are different"""
    differ = True
    if link1 == link2:
        differ = False
    # Handle when url had training slash
    if link1[0:-1] == link2:
        differ = False
    if link2[0:-1] == link1:
        differ = False
    return differ