def get_value_if(ref, _path, _translated_ref, _translated_path,
                 condition=False, **_kwargs):
    """Get value if condition is true."""
    if not condition:
        return None
    return ref.config