def _enabled_item_name(enabled_item):
    try:
        return enabled_item.split(":")[1]
    except IndexError:
        return enabled_item.split(":")[0]
Split host_str into host and port.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/toggle_ui/views.py/_enabled_item_name--crossover with--dataset/ETHPy150Open StackStorm/st2/st2common/st2common/util/ip_utils.py/split_host_port