@staticmethod
def _validate_config(config, keys):
    """validate config if there's any missing items"""
    ret = True
    for key in keys:
        if not key in config:
            ret = False
    return ret
