That's a good method, but I think it's probably overkill for a simple package check. If we needed to check params too that would be different.