code: def get_device_category(self, cat):
          
          if cat in self.device_categories:
              return self.device_categories[cat]
          else:
              return False
docs: Return the device category and name given the category id