@Override
	public boolean accept(BodyPart bodyPart) {
		for ( MIMEHeader header : bodyPart.getHeaders() ) {
			boolean contentTypeMatched =
					"content-type".equals(header.getFieldName().toLowerCase()) &&
					contentType.equals(header.getFieldBody());

			if( contentTypeMatched ) {
				return true;
			}
		}

		return false;
	}