Check to see if an extension exists

Hello

How could I determine if an extension exists? For example
exten=> s,1,Set(PARKINGEXTEN=110)

How could I see if 110 exists.

mtia
Jeremy