/* Check the device path node whether it's the Flow Control node or not. */
BOOLEAN IsUartFlowControlDevicePathNode(IN UART_FLOW_CONTROL_DEVICE_PATH *FlowControl)
/* Check the device path node whether it's the Flow Control node or not. */
BOOLEAN IsUartFlowControlDevicePathNode(IN UART_FLOW_CONTROL_DEVICE_PATH *FlowControl)
{
  return (BOOLEAN)(
                   (DevicePathType (FlowControl) == MESSAGING_DEVICE_PATH) &&
                   (DevicePathSubType (FlowControl) == MSG_VENDOR_DP) &&
                   (CompareGuid (&FlowControl->Guid, &gEfiUartDevicePathGuid))
                   );
}