Covergroup feedback

I’d like to sample a covergroup, and get back a ‘1’ if it found a bin, 0 otherwise, then use that result in the predictor, to act accordingly.
is that possible?