If you have OctoPrint and the GPX plugin, you can send M114 in the terminal window and it'll return what the bot thinks its current position is and whether the endstops are activated.