Determine commodity legality in PopulateStarSystemGenerator.