checked if device is ready