Socket :: simplified isOpen()