def METHOD_NAME(self):
    elapsed = datetime.now() - self.time_start
    if elapsed.total_seconds() > self.options["timeout"]:
        raise SalesforceException(
            "Community creation not finished after {timeout} seconds".format(
                **self.options
            )
        )
    community = self._get_community()
    if community is not None:
        self.poll_complete = True
        self.logger.info("Community {} created".format(community["id"]))