bugfix : test on menu when trying to acess eav properties

As properties on menu items mainly are eav, we need to check if those are set.