shouldIncludePackage

Checks if a package should be included in scanning.