def validate_log_component(component):
    if component in LOG_COMPONENTS.keys():
        return True
    else:
        raise NoSuchLogComponent
dataset/ETHPy150Open Yelp/paasta/paasta_tools/utils.py/validate_log_component/original