'Returns `True` if the image can be composited with its neighbors.'

def can_composite(self):

    trans = self.get_transform()
    return ((self._interpolation != u'none') and trans.is_affine and trans.is_separable)
