Working schools detection function for package from Martin.