She starts whistling into his ear as if to check whether he really is dead.
She starts whistling into his ear as if she's checking whether he really is dead.
Is there any difference these?
Does "as if to check" refer to her and why she's whistling into his ear or is it more used to mean "as one does to check"?
Could I use "if" instead of "whether" in both sentences without changing the meaning?
Which one is the better option do you think?