func QuacksLike(e ld.Entity, t *meta.Type) bool {
	for _, tID := range e.Type() {
		if t.ID == tID {
			return true
		}
		typ, ok := Classes[tID]
		if !ok {
			continue
		}
		if typ.IsSubClassOf(t) {
			return true
		}
	}
	return false
}
Returns whether the entity quacks like a certain type.
package ns
import (
	"github.com/meowpub/meow/ld"
	"github.com/meowpub/meow/ld/ns/meta"
)