It can be simplified to:
return !$this->getOrder()->getPayment()->canCapture() || $this->getOrder()->getPayment()->canCapturePartial();
It can be simplified to:
return !$this->getOrder()->getPayment()->canCapture() || $this->getOrder()->getPayment()->canCapturePartial();