code: func (s *Stream) Poll() (bool, error) {
  	poll := C.Pm_Poll(unsafe.Pointer(s.pmStream))
  	if poll < 0 {
  		return false, convertToError(C.PmError(poll))
  	}
  	return poll > 0, nil
  }
docs: // Poll reports whether there is input available in the stream.