Check access to private fields by depth