Determines whether any allowed packages were defined.
bool Whether there are allowed packages
public function hasAllowedPackages() { return !empty($this->allowedPackages()); }