Does the Cloth have to be flat or can it be an enclosed volume in order to enable cloth physics?

Hi, I was wondering if anyone knows the conditions on enabling cloth physics. I’m not sure if it I need to have cloth in plane form in order to enable it or I can use a volumetric enclosed shape