Check for not empty array to show the tree navigation menu container