'Verify that the profile page is currently public.'

def verify_profile_page_is_public(self, profile_page, is_editable=True):

    self.assertEqual(profile_page.visible_fields, self.PUBLIC_PROFILE_FIELDS)
    if is_editable:
        self.assertTrue(profile_page.privacy_field_visible)
        self.assertEqual(profile_page.editable_fields, self.PUBLIC_PROFILE_EDITABLE_FIELDS)
    else:
        self.assertEqual(profile_page.editable_fields, [])
