Added available method to device.

Added the `available()` method to the device class. This should return true or false depending on if a transition is currently available or not.