This function returns TRUE if the current region is rendered read-only and FALSE if region is not rendered read-only. If the function is called from a context where no region is currently processed, it returns NULL. For example, you can use this function in conditions of a region or its underlying items and buttons.
FUNCTION IS_READ_ONLY RETURN BOOLEAN;
This examples purges the session for a specific region cache for the whole application.