'Test fields accessed by a staff user'

def assert_staff_fields(self, serialized_block):

    if (serialized_block['id'] == unicode(self.html_block.location)):
        self.assertTrue(serialized_block['visible_to_staff_only'])
    else:
        self.assertFalse(serialized_block['visible_to_staff_only'])
