def should_be_linked?(repo_sha, position)
      @dev_cookbooks.has_key?(repo_sha) &&
      @dev_cookbooks[repo_sha].positions &&
      @dev_cookbooks[repo_sha].positions.detect { |dev_position| dev_position.position == position }
    end
def should_be_linked?(repo_sha, position)
      @dev_cookbooks.has_key?(repo_sha) &&
      @dev_cookbooks[repo_sha].positions &&
      @dev_cookbooks[repo_sha].positions.detect { |dev_position| dev_position.position == position }
    end
Should there be a link created for this cookbook?

 === Parameters
 repo_sha (String) :: unique identifier of the cookbook repository
 position (String) :: repo relative ppath of the cookbook

 === Returns
 true if there is a cookbook in the given repo that should be checekd out