if( !$.isArray(siteArray) || !siteArray.length ) { //handler either not an array or empty array }
data = { 'a': [], 'b': [], 'c': [1,2,3] } result = any(item for item in data.values()) print(result)