how to specify the first day of the month with reference to the day of the week?

I want to do that under the condition $if (df (...), always, never)$ the layer was displayed or hidden. For example: this month does not start on Sunday and this is what I want to do: if 2021/01/01 = Sunday, then show, otherwise-hide