It doesn't matter whether they understand the other person's beliefs or not; the question is, what do they actually believe experiments will show about the world, before performing the experiments? If they truly expect that there's a dragon in their garage, they'll expect results consistent with having a dragon in their garage; if they don't actually believe that, they'll make predictions consistent with not having a dragon in their garage.