
Open the phone app and dial *#06#. If you see an "EID" number, your phone supports eSIM.
Phones bought on a carrier contract are often locked to that carrier, and then an eSIM from another company won't work. Before you fly, ask your carrier whether your phone is unlocked.
Phones bought in mainland China, Hong Kong and Macau usually don't support eSIM.