Published: false for collections

it seems published: false in fronmatter is not working for collections. Is there any alternative or workaround?

have you tried?

collections:
  my_collection:
    output: false

In fact, I was wrong and both output and published are working as intended. It turned out that my problem was something else, which I described here: