MatchesXsGMonth🔗
          Check that 
        
        
      text conforms to the pattern of an xs:gMonth.
        Code
gMonthLexicalRep = (
    '--(0[1-9]|1[0-2])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'
)
pattern = (
    f'^{gMonthLexicalRep}$'
)
return match(
    pattern,
    text
) is not None