Check nested attribute which are actually objects