from typing import Optional
from typing import Any


def safe_max(*values) -> Optional[Any]:
    """
    Find the max value in a list. Ignore None values.

    Args:
        *values: all values to be compared
    Returns:
         max value in the list or None
    Examples:
        >>> safe_max(None, 5, 3, 7)
        7
        >>> safe_max(None, None) is None
        True
    """
    max_value = None
    for value in values:
        if value is None:
            continue
        if max_value is None:
            max_value = value
        elif value > max_value:
            max_value = value
    return max_value