Bug 828746 add isPrivate method to private-browsing module

Best to review this before #763