maybe turn the thing into a single line

    if (null == key) None else _keyToRdd.get(key.toLowerCase)