ContentDisposition.isAttachment

bool isAttachment() nothrow

Determines if a Content-Disposition has a value of "attachment".

Returns

true if the value matches "attachment", otherwise false.