Check struct is ref HASH/ARRAY