'Verifies the given serialized_block when additional fields are requested.'

def assert_extended_block(self, serialized_block):

    self.assertLessEqual({'id', 'type', 'lms_web_url', 'student_view_url', 'display_name', 'graded', 'student_view_multi_device', 'lti_url', 'visible_to_staff_only'}, set(serialized_block.iterkeys()))
    if (serialized_block['type'] == 'video'):
        self.assertIn('student_view_data', serialized_block)
    if (serialized_block['type'] == 'html'):
        self.assertIn('student_view_multi_device', serialized_block)
        self.assertTrue(serialized_block['student_view_multi_device'])
    if (serialized_block['type'] == 'chapter'):
        if (serialized_block['display_name'] not in ('poll_test', 'handout_container')):
            self.assertIn('block_counts', serialized_block)
        else:
            self.assertNotIn('block_counts', serialized_block)
