$world->ispermanent
This function tests if a variable is permanent. The return value is true or false depending on the variable's status.
The names of the variables are passed as a string, including the $, @ or % prefix. Be careful to use single quotes (or \ inside double quotes) to avoid variable interpolation.