Implement check_is_symlink

Matching commit for Serverspec PR #490