code: def check_complex(self, complex: str) -> bool:
          
          self.check_developer()
          if complex in self._checked_complexes:
              return True
  
          try:
              self.get('developers/{developer}/complexes/{complex}/'.format(
                  developer=self.developer,
                  complex=complex,
              ))
          except exceptions.Rumetr404Exception:
              raise exceptions.RumetrComplexNotFound('Unknown complex — maybe you should create one?')
  
          self._checked_complexes.add(complex)
          return True
docs: Check if a given complex exists in the rumetr database