def _are_values_different(old_value, new_value):
    """Checks if the two values are different whilst treating a blank string the same as a None."""
    old_value = old_value if old_value != '' else None
    new_value = new_value if new_value != '' else None
    return old_value != new_value