MatchesXsNonPositiveInteger🔗
          Check that 
        
        
      text conforms to the pattern of an xs:nonPositiveInteger.
        Code
nonPositiveIntegerRep = (
    '(\\+0|0|-[0-9]+)'
)
pattern = (
    f'^{nonPositiveIntegerRep}$'
)
return match(
    pattern,
    text
) is not None