add #link? and #unlink?
Merge pull request #578 from jamiehodge/link-unlink

add #link? and #unlink?