'Retrieve the permissions of the page at address `addr`.
:param addr:        address to get the page permissions
:param permissions: Integer or BVV to optionally set page permissions to
:return:            AST representing the permissions on the page'

def permissions(self, addr, permissions=None):

    return self.mem.permissions(addr, permissions)
