(self)
return self.attachment_src or self.attachment_from
Helper method to see if this is a delete vs. update

        NOTE this is related to but reversed logic from
        `casexml.apps.case.xml.parser.CaseAttachment.is_delete`.
Helper method to see if this is a delete vs. update
Helper method to see if this is a delete vs . update
def is_present(self):
        """
        Helper method to see if this is a delete vs. update

        NOTE this is related to but reversed logic from
        `casexml.apps.case.xml.parser.CaseAttachment.is_delete`.
        """
        return self.attachment_src or self.attachment_from
def is_present ( self ) : return self . attachment_src or self . attachment_from