impure functionexistPackage

Returns whether the given package exists or not.

A impure function of isPackage.