def METHOD_NAME(self, port_name):
    for port_cfg in self._port_cfgs:
        if port_name == port_cfg.name:
            macs = [int(x) for x in (port_cfg.lanes.split(','))]
            led = self.mac_to_led[min(macs)]
            if led < 0:
                return None
            return led
    return None