def METHOD_NAME(self, attachment):
    if self.attachment_count <= len(self.attachments):
        raise ValueError('Unexpected binary attachment')
    self.attachments.append(attachment)
    if self.attachment_count == len(self.attachments):
        self.reconstruct_binary(self.attachments)
        return True
    return False