check if hdu in memory