def METHOD_NAME(column, datetime_format):
    """Determine the values of the column that match the datetime format.
    Args:
        column (pd.Series):
            Column to evaluate.
        datetime_format (str):
            The datetime format.
    Returns:
        pd.Series:
            Series of booleans, with True if the value matches the format, False if not.
    """
    pandas_datetime_format = datetime_format.replace('%-', '%')
    datetime_column = pd.to_datetime(
        column,
        errors='coerce',
        format=pandas_datetime_format
    )
    valid = pd.isna(column) | ~pd.isna(datetime_column)
    return set(column[~valid])