code: func (p *Parser) FilterEntity(fb func(*Entity) bool) []*Entity {
  	entities := make([]*Entity, 0, 0)
  	for _, et := range p.entities {
  		if fb(et) {
  			entities = append(entities, et)
  		}
  	}
  	return entities
  }
docs: // FilterEntity finds entities by callback