Permanent variable question

Can a procedure determine if a variable is permanent or not?

Use the dbinfo(“permanent”) function that returns a list of all permanent variables associated with the current database.

Actually, it returns that information for a specified database. To specify the current database, you can use empty text.

dbinfo("permanent","")

Gentlemen, I thank you!