Function Entity.hasTag

Detect whether this Entity has the given Tag.

bool hasTag (
  const(Tag) tag
) const;