getblocking() Returns True if socket is in blocking mode, or False if it is in non-blocking mode.
socket/socket.getblocking
socket.getblocking