It is used to detect whether a shipping carrier should be available.
See also:
\Magento\Shipping\Model\Carrier\CarrierInterface::getAllowedMethods()
\Magento\Shipping\Model\Carrier\AbstractCarrierInterface::collectRates()