You can check the IP, if you need a local address you can check whether your ip is:
Class A: 10.*.*.*

Class B: 172.*.*.*
or
Class C: 192.*.*.*

All of these Classes are LAN IP address types, if your IP doesnt fit any of these cases it means its an external WAN IP that people outside of your local network can connect to using the internet.