You can use ion-menu, ion-menu-controller or MenuController if you want a more programmatically approach.
With the last one you can create a button, manage the menu’s toggle function from there and apply any function you want. Also, with this function you can simply check if the menu is enabled or not.