'Returns if this entity has been saved to the datastore.'

def is_saved(self):

    last_path = self.__key._Key__reference.path().element_list()[(-1)]
    return ((last_path.has_name() ^ last_path.has_id()) and self.__key.has_id_or_name())
