Simples, write those functions yourself, something along the lines:
function OK = isfigure(h)
OK = 1;
OK = 0;
You could decorate your code to handle array input, do error checking and make the output proper Boolean output but the core part is to look at the type field of the graphics handle.