This is a simple class that can check whether a given PEAR package is installed. It looks up the PHP include path to determine if PEAR is available and what is its its base installation directory path. If PEAR is available, the class can determine if a specific package is installed.