#38: added LuaEntity::isType