add IsInPath method of Package