def import_mask(self, update=False):
        """Imports this instance's mask from disk to its :attr:`mask`
        attribute.

        Args:
            update (False): whether to clear this instance's :attr:`mask_path`
                attribute after importing
        """
        if self.mask_path is not None:
            self.mask = _read_mask(self.mask_path)

            if update:
                self.mask_path = None
Imports this instance's mask from disk to its :attr:`mask`
        attribute.

        Args:
            update (False): whether to clear this instance's :attr:`mask_path`
                attribute after importing
        
fiftyone/core/labels.py