Mesh names are just strings right?
like this…
if current_cell['type'] == 2 and obj['player_root'].children[1].meshes[0] != 'fergus_base':
???
EDIT: nvm…for some reason my code was not working…but it was a simple mistake…I will mark this solved.