I think in most places where mask laws are in place they don't tell you what constitutes a mask.Wearing ineffective masks is great - it gives the wearer enough false security to go out and spread the virus while thinking they are some sort of moral critter. Ineffective masks could be responsible for much of the spread in this country. Does any other country have so many people running around with pieces of cloth over their faces and calling them masks?
As long as it covers your nose and mouth it's legally a mask.
Some places like hospitals are more strict.
They require surgical grade (3 layers) masks and don't allow visitors or staff to show up with their homemade cloth mask.