get-installed-path

Get installation path where the given package is installed. Works for globally and locally installed packages

is-installed

Checks that given package is installed locally or globally. Useful for robust resolving when you want some package - it will check first if it exists locally, then if it exists globally