def has_finished(ey, em=None, ed=None):
    '\n    true if today is before the dates given, inclusive\n\n    Parameters\n    ----------\n    ey : int\n       end year, the year to check today against\n    em : int or str.\n       end month, the month to check today against. Should be integer or in regolith MONTHS.\n       default is 1\n    ed : int.\n       end-day, the day to check today against. Default is last day of the month\n\n    Returns\n    -------\n    bool\n    true if today is before dates given\n    '
    if (not em):
        em = 12
    if (not ed):
        ed = monthrange(ey, month_to_int(em))[1]
    e = '{}/{}/{}'.format(ed, month_to_int(em), ey)
    end = time.mktime(datetime.strptime(e, '%d/%m/%Y').timetuple())
    return (end <= time.time())
true if today is before the dates given, inclusive

Parameters
----------
ey : int
   end year, the year to check today against
em : int or str.
   end month, the month to check today against. Should be integer or in regolith MONTHS.
   default is 1
ed : int.
   end-day, the day to check today against. Default is last day of the month

Returns
-------
bool
true if today is before dates given
def has_finished(ey, em=None, ed=None):
    '\n    true if today is before the dates given, inclusive\n\n    Parameters\n    ----------\n    ey : int\n       end year, the year to check today against\n    em : int or str.\n       end month, the month to check today against. Should be integer or in regolith MONTHS.\n       default is 1\n    ed : int.\n       end-day, the day to check today against. Default is last day of the month\n\n    Returns\n    -------\n    bool\n    true if today is before dates given\n    '
    if (not em):
        em = 12
    if (not ed):
        ed = monthrange(ey, month_to_int(em))[1]
    e = '{}/{}/{}'.format(ed, month_to_int(em), ey)
    end = time.mktime(datetime.strptime(e, '%d/%m/%Y').timetuple())
    return (end <= time.time())