def METHOD_NAME(
    expected_options: Dict[str, Any], current_options: Optional[Dict[str, Any]]
) -> List[str]:
    """Validates expected_options and current_options have the same values if the
    keys of expected_options are present in current_options"""
    if current_options is None:
        return []
    different_keys = []
    for expected_key, expected_value in expected_options.items():
        if isinstance(expected_value, dict):
            different_keys.extend(
                METHOD_NAME(expected_value, current_options.get(expected_key, None))
            )
        else:
            current_value = current_options.get(expected_key, None)
            if current_value is not None and expected_value != current_value:
                different_keys.append(expected_key)
    return different_keys