Added function for package check