Is there a possiblity to check wether a dynamic array is initialized or not. (the empty function does not work)

Example:

option explicit
public h() as integer


private sub tes

redim h(1 to 10)
if h "is initialized" then
msgbox "Hello"

erase h
if h "is initialized" then
msgbox "Nope" 'this mustn't occur!!!




end sub