def get_druggable_pockets(list_of_pockets):
    """Get a dict of PDB with a dict of Pockets object as entry, output a list of druggable pockets"""
    new_dict = {}
    for k in list_of_pockets.keys():
        new_dict[k] = {}
        for p in list_of_pockets[k].keys():
            if list_of_pockets[k][p].druggable == 'TRUE':
                new_dict[k][p] = list_of_pockets[k][p]
    key_to_del = []
    for k in new_dict.keys():
        if not new_dict[k]:
            key_to_del.append(k)
    for k in key_to_del:
        new_dict.pop(k)
    return new_dict
