boolean PEAR_ErrorStack::hasErrors ( 
      string  $level = false
     )
Determine whether there are any errors on the stack
$level
       Level name to check for a particular severity. Use this to determine whether only a particular class of errors has occurred, such as whether any warnings have occurred (errors will be ignored)
throws no exceptions thrown
This function can not be called statically.