def METHOD_NAME(self):
    """Return if the file should be handled inline.
    If not, and unless your application supports other dispositions
    than the standard inline and attachment, it should be handled
    as an attachment.
    """
    return self.disposition in {None, 'inline'}