Added hasTag to Entity