Triggers the local agent to join a node

        Parameters:
            address (str): Address of node
            wan (bool): Attempt to join using the WAN pool
        Returns:
            bool: ``True`` on success

        This endpoint is used to instruct the agent to attempt to connect to
        a given address. For agents running in server mode, providing ``wan``
        parameter causes the agent to attempt to join using the WAN pool.

async def join(self, address, *, wan=None):
        """Triggers the local agent to join a node

        Parameters:
            address (str): Address of node
            wan (bool): Attempt to join using the WAN pool
        Returns:
            bool: ``True`` on success

        This endpoint is used to instruct the agent to attempt to connect to
        a given address. For agents running in server mode, providing ``wan``
        parameter causes the agent to attempt to join using the WAN pool.
        """
        response = await self._api.get("/v1/agent/join", address,
                                       params={"wan": wan})
        return response.status == 200