Return false or errors in nn_device