code: def get_usage_type(self, ip):
          ''' Get usage_type '''
          rec = self.get_all(ip)
          return rec and rec.usage_typf get_usage_type(self, ip):
          ''' Get usage_type '''
          rec = self.get_all(ip)
          return rec and rec.usage_type
docs: Get usage_type