How is \Magento\Sales\Model\Order\Payment::canCapturePartial() implemented and used?

See also: