How can i check is feature exists? I mean not activated but accessible on current web.
For example i have feature with some id and i need to check is package with this feature is deployed.
Because if i understand this correctly web.Features[id] will return only feature that activated!
For now i have exception like this:
Feature with Id 'a3f59c87-4021-4ec1-a3e1-55022a9e0d86' is not installed in this farm, and cannot be added to this scope.
And i need to check this before.