Add check_devices function
Merge pull request #4 from butlern/master

[skip ci] Add check_devices function