/**
  * Returns if the function/method is generator.
  *
  * @return null
  */
 public function isGenerator()
 {
     return PHP_VERSION_ID >= 50500 ? parent::isGenerator() : null;
 }