asInlineDataPartOrNull

Returns the part as a InlineDataPart if it represents inline data, and null otherwise