def date_filter_okay(df, start, end):
    """
    Boolean check of whether DataFrame has data between 2 dates

    Parameters
    ----------
    df : pandas.DataFrame
        data to check
    start : datetime-like
        start time
    end : datetime-like
        end time

    Returns
    -------
    bool

    """
    check = df[(df.index >= start) &
            (df.index <= end)].copy()
    return not check.empty