Simpler and shorter to do `if state in (PublishState.public, PublishState.draft):`