Returns the deep partial alternative of the shape if it implements DeepPartialProtocol, or returns shape as is if it doesn't.
The shape to convert to a deep partial alternative.
Returns the deep partial alternative of the shape if it implements DeepPartialProtocol, or returns shape as is if it doesn't.