def model_ismomentregistredzc_39(calendarMoments_t1 = ["Sowing"]):
    """
     - Name: IsMomentRegistredZC_39 -Version: 1.0, -Time step: 1
     - Description:
                 * Title: Is FlagLeafLiguleJustVisible Model
                 * Author: Pierre Martre
                 * Reference: Modeling development phase in the 
                     Wheat Simulation Model SiriusQuality.
                     See documentation at http://www1.clermont.inra.fr/siriusquality/?page_id=427
                 * Institution: INRA Montpellier
                 * Abstract: if FlagLeafLiguleJustVisible is already Registred 
     - inputs:
                 * name: calendarMoments_t1
                               ** variablecategory : state
                               ** datatype : STRINGLIST
                               ** default : ['Sowing']
                               ** inputtype : variable
                               ** unit : 
                               ** description : List containing appearance of each stage at previous time
     - outputs:
                 * name: isMomentRegistredZC_39
                               ** datatype : INT
                               ** min : 0
                               ** variablecategory : state
                               ** max : 1
                               ** unit : 
                               ** description :  if Flag leaf ligule has already appeared 
    """

    isMomentRegistredZC_39 = 1 if "FlagLeafLiguleJustVisible" in calendarMoments_t1 else 0
    return isMomentRegistredZC_39