is_attachment


Description:

public bool is_attachment ()

Determines whether or not the part is an attachment based on the value of the Content-Disposition header.

Parameters:

this

a Part object

Returns:

true if the part is an attachment, otherwise false.