Astarte.Device.connected

You're seeing just the function connected, go back to Astarte.Device module for more information.
Link to this function

connected(arg1, arg2, data)