A/C duct mastic

Is it an industry standard and/or code requirement to mastic the boot flange where it attaches to the ceiling/wall at the diffuser/grill connection ??