@staticmethod
def uniform_key(hotkey):
    """use to get the hotkey in a hashable form for using as a dict key"""
    if type(hotkey) == list:
        hotkey = tuple(hotkey)
        if len(hotkey) == 1:
            hotkey = hotkey[0]
    return hotkey
