def is_empty(self): """ Determines whether this set is empty or not. :return: (bool), ``true`` if this set is empty, ``false`` otherwise. """ request = set_is_empty_codec.encode_request(self.name) return self._invoke(request, set_is_empty_codec.decode_response)
def is_empty(self) -> Future[bool]: """Determines whether this set is empty or not. Returns: ``True`` if this set is empty, ``False`` otherwise. """ request = set_is_empty_codec.encode_request(self.name) return self._invoke(request, set_is_empty_codec.decode_response)