code: def labor_day(gyear):
      r"""Get Labor Day for a given year.
  
      Parameters
      ----------
      gyear : int
          Gregorian year.
  
      Returns
      -------
      lday : int
          Labor Day in RDate format.
      """
      lday = first_kday(1, gyear, 9, 1)
      return lday
  
imports: import calendar
  import logging
  import math
  import pandas
label_desc: Use image node_id 40 for calling a global function with example usage: labor_day(gyear) and returns: lday