Coverage bins

I want to create bins based on condition
for example:
bins x={strb[0]==1};
it will create bins for x?

is am right?

In reply to ashokg:

This creates a bin for the value 1’b0 or 1’b1 depending on the value of strb[0] at the time of covergroup construction. It will not change on each sample.