'Get the page layout.
See :meth:`setPageLayout()<PdfFileWriter.setPageLayout>` for a description of valid layouts.
:return: Page layout currently being used.
:rtype: str, None if not specified'

def getPageLayout(self):

    try:
        return self._root_object['/PageLayout']
    except KeyError:
        return None
