Magento multiple category custom attribute save

We can save custom attribute value for Multiple categories at once   // $collection is your categories collection