Disconnect from Bluetooth headset

Is there any way to create an Android application on Android that disconnects the smartphone from a connected Bluetooth headset on an event, like a push of a button?