Remove comparisons in traitlet links
Merge pull request #6989 from SylvainCorlay/safe_link

Remove comparisons in traitlet links and directional links