def validate_registration(self):
        url = '/api/%s' % self.username
        response = self.make_request('GET', url)

        if 'error' in response:
            return False

        return True
Test adding figures/images to section.
dataset/ETHPy150Open sontek/bulby/bulby/client.py/HueBridgeClient.validate_registration--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/tests/test_report.py/test_render_add_sections