require_once 'PEAR.php';
boolean PEAR::isError (mixed $data)
boolean PEAR::isError
isError() examines whether a variable is a PEAR_Error object.
mixed $data - the variable to check.
mixed - returns true, if the variable was a PEAR_Error