def is_spoiler(self) -> bool:
    ':class:`bool`: Whether this attachment contains a spoiler.'
    return self.filename.startswith('SPOILER_')
:class:`bool`: Whether this attachment contains a spoiler.
def is_spoiler(self) -> bool:
    
    return self.filename.startswith('SPOILER_')