The partExists() function is related to the hasContent function, and tests for the simple presence of a specified page-part.
It can take two parameters:
A page-part must given as the first parameter. If it is found, the function returns “true”, otherwise it returns “false”. These results are returned whether or not the page-part actually contains any content.
Like the content() and hasContent() functions, partExists() can also be inherited by setting the second parameter to “true” (optional); by default this is set to “false”.
partExists() was introduced for the 0.7.0 release of Wolf.