code: def get_available_modes(self):
          
          resource = "modes"
          resource_event = self.publish_and_get_event(resource)
          if resource_event:
              properties = resource_event.get("properties")
              return properties.get("modes")
  
          return None
docs: Return a list of available mode objects for an Arlo user.