isPackagePath
Tells whether entry belongs to an installed package, i.e. lies under a top-level @<scope>/ directory of projectRoot.
Return
whether entry is inside a package directory
Parameters
projectRoot
directory of the main document
entry
file or directory to classify