def METHOD_NAME(self, nodes_count: int, allow_insufficient=False):
    statuses = [consts.NodesStatus.KNOWN_UNBOUND]
    if allow_insufficient:
        statuses.append(consts.NodesStatus.INSUFFICIENT_UNBOUND)
    wait_till_all_infra_env_hosts_are_in_status(
        client=self.api_client,
        infra_env_id=self.id,
        nodes_count=nodes_count,
        statuses=statuses,
        timeout=consts.NODES_REGISTERED_TIMEOUT,
    )