'Returns this entity\'s entity group as a Key.
Note that the returned Key will be incomplete if this is a a root entity
and its key is incomplete.'

def entity_group(self):

    return self.key().entity_group()
