def sink_for_card(card, pulse):
    """Return first sink that uses the given card otherwise return None"""
    sinks = pulse.sink_list()
    for sink in sinks:
        if sink.card == card.index:
            return sink
    return None