<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hour_match(data, hours):
 """ matching of days in time columns for data filtering """

    hours = [hours] if isinstance(hours, int) else hours
    return data.isin(hours)