'Will raise an exception if entity.id already exists'

def addEntity(self, entity):

    if (entity in self):
        raise RuntimeError('Entity    exists')
    self.add(entity)
    self.log.info((str(entity) + '    joined'))
    self.raiseEvent(EntityJoin, entity)
