'Validates the :attr:`.consumer`.'

def _check_consumer(self):

    if (not self.consumer.key):
        raise ConfigError('Consumer    key    not    specified    for    provider    {0}!'.format(self.name))
    if (not self.consumer.secret):
        raise ConfigError('Consumer    secret    not    specified    for    provider    {0}!'.format(self.name))
