ishandle
tf = ishandle (h) Logical array of the size of h; true for entries that are handles of currently existing graphics objects (the root 0 included).
ishandletf = ishandle (h) Logical array of the size of h; true for entries that are handles of currently existing graphics objects (the root 0 included).