Is there any way to prevent a man in the middle attack on a public network, but using a trusted device?

For example, if I am using my personal laptop on a public wifi, and type in the website I want to go to that includes HTTPS, (lets assume can I reasonably trust that I’m establishing a secure encrypted connection with that website? Can a man in the middle compromise that kind of connection? I encounter this type of scenario all the time at hotels that have open wifis without passwords, and I’m always nervous.