isActive method

bool isActive()

监听器是否可用

Implementation

bool isActive() {
  return (null != stream);
}