I have some code snippet of code I'd like to abstract to a function that only has one small change that needs to be dynamic
if myUser.profile.get_setting_c == True :
# below does not work but you get the idea, how
if myUser.profile.eval('get_setting_c') == True :