has_connected_port
if (!has_connected_port((port_index)INTEL_PORT_A, INTEL_PORT_TYPE_ANY)) {
if (has_connected_port((port_index)i, INTEL_PORT_TYPE_ANY)) {
if (!has_connected_port(INTEL_PORT_ANY, INTEL_PORT_TYPE_ANY)) {