parameters: (self)
return_statement: return self._role_maker._is_first_worker()
docstring: Check whether the node is the first instance of worker.
  
          Returns:
              bool: True if this is the first node of worker,
                    False if not.
  
          Examples:
  
              .. code-block:: python
  
                  import paddle.distributed.fleet as fleet
                  fleet.init()
                  fleet.is_first_worker()
docstring_summary: Check whether the node is the first instance of worker.
docstring_tokens: Check whether the node is the first instance of worker .
function: def is_first_worker(self):
          """
          Check whether the node is the first instance of worker.
  
          Returns:
              bool: True if this is the first node of worker,
                    False if not.
  
          Examples:
  
              .. code-block:: python
  
                  import paddle.distributed.fleet as fleet
                  fleet.init()
                  fleet.is_first_worker()
  
          """
          return self._role_maker._is_first_worker()
function_tokens: def is_first_worker ( self ) : return self . _role_maker . _is_first_worker ( )