from datetime import datetime, timedelta


def check_date_past_interval(check_date, interval=None):
    """Return True if given check_date is past the interval from current time.

    :param check_date: Datetime string like '2021-08-23 18:14:05'
    :type check_date: str
    :param interval: Hours amount to check in past.
    :type interval: int
    :return: Returns True if date exceeds interval.
    :rtype: bool
    """
    if interval is None:
        interval = 1
    date = datetime.strptime(str(check_date), '%Y-%m-%d %H:%M:%S')
    # date = check_date
    past = datetime.now() - timedelta(hours=interval)
    # Change period to period timedelta range provided as needed.
    period = 'hours'
    if past > date:
        print(f"This is older than {interval} {period}")
        return True
    elif past > date:
        return False
    else:
        return False