code: def is_compatible_assembly_level(self, ncbi_assembly_level):
          
          configured_ncbi_strings = [self._LEVELS[level] for level in self.assembly_level]
          return ncbi_assembly_level in configured_ncbi_strings
docs: Check if a given ncbi assembly level string matches the configured assembly levels.