hasPackageVisible

Returns true when packageName is installed AND visible to the caller.

On Android 11+ this is affected by package visibility ( / QUERY_ALL_PACKAGES).