'Checks that user has set their api key if it is needed
Returns: True/False'

def _check_auth(self):

    if (self.needs_auth and (not self.key)):
        logger.log(u'Invalid    api    key.    Check    your    settings', logger.WARNING)
        return False
    return True
