yes, it could do that instead of the isset, but if I get @joaoinacio correctly it should still also check if it is an array.