determine state of /dev/random