def compare_dates(converted_creation_date, rotation_date):
    """
    Compares createTime date to x (default 90) days ago.

    Args:

    converted_creation_date - The datatime formatted creation date of our API key.
    rotation_date - datetime formatted "rotation_period" days ago (default 90).
                    Example: 2020-09-18 13:38:52.943663
    """

    # If the createTime value for our key
    # is over x days (default 90)
    # Return true to key_analysis function
    if converted_creation_date < rotation_date:
        return True
    else:
        return False