public Boolean isConnected() {
        return this.connected;
    }
<p>
True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.
</p>

@return True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ThingConnectivity.java