is_connected is a method not a property.