code: def compose(self, *args, **kwargs):
          
          from psd_tools.api.composer import compose_layer
          if self.bbox == (0, 0, 0, 0):
              return None
          return compose_layer(self, *args, **kwargs)
docs: Compose layer and masks (mask, vector mask, and clipping layers).
  
          :return: :py:class:`PIL.Image`, or `None` if the layer has no pixel.