# i don't think there is anyway, other than trying to read or write from it. but you can set read/write deadline, so it won't block forever.