add is_disconnect() method
typo
import error