import warnings


def validate_record(record):
    """Check that `record` contains a key called "time".
    
    Args:
        record (dict): a dictionary representing a data record, where the
        keys name the "columns".

    Returns:
        True if there is a key called "time" (it actually checks for ``"time"``
        (a string) and ``b"time"`` (a binary)). False if there is no key
        called "time".
    """
    if not any(k in record for k in ("time", b"time")):
        warnings.warn(
            'records should have "time" column to import records properly.',
            category=RuntimeWarning,
        )
    return True