More robust way to check simage