code: def oxide_type(structure, relative_cutoff=1.1, return_nbonds=False):
      
  
      ox_obj = OxideType(structure, relative_cutoff)
      if return_nbonds:
          return ox_obj.oxide_type, ox_obj.nbonds
      else:
          return ox_obj.oxide_type
docs: Determines if an oxide is a peroxide/superoxide/ozonide/normal oxide
  
      Args:
          structure (Structure): Input structure.
          relative_cutoff (float): Relative_cutoff * act. cutoff stipulates the
              max distance two O atoms must be from each other.
          return_nbonds (bool): Should number of bonds be requested?