code: def search(self, **kwargs):
          '''Filter the annotation array down to only those Annotation
          objects matching the query.
  
  
          Parameters
          ----------
          kwargs : search parameters
              See JObject.search
  
          Returns
          -------
          results : AnnotationArray
              An annotation array of the objects matching the query
  
          See Also
          --------
          JObject.search
          '''
  
          results = AnnotationArray()
  
          for annotation in self:
              if annotation.search(**kwargs):
                  results.append(annotation)
  
          return resultf search(self, **kwargs):
          '''Filter the annotation array down to only those Annotation
          objects matching the query.
  
  
          Parameters
          ----------
          kwargs : search parameters
              See JObject.search
  
          Returns
          -------
          results : AnnotationArray
              An annotation array of the objects matching the query
  
          See Also
          --------
          JObject.search
          '''
  
          results = AnnotationArray()
  
          for annotation in self:
              if annotation.search(**kwargs):
                  results.append(annotation)
  
          return results
docs: Filter the annotation array down to only those Annotation
          objects matching the query.
  
  
          Parameters
          ----------
          kwargs : search parameters
              See JObject.search
  
          Returns
          -------
          results : AnnotationArray
              An annotation array of the objects matching the query
  
          See Also
          --------
          JObject.search