def _date_time_match(cron, **kwargs):
 return all([((kwargs.get(x) is None) or (cron[x] == str(kwargs[x])) or ((str(kwargs[x]).lower() == 'random') and (cron[x] != '*'))) for x in ('minute', 'hour', 'daymonth', 'month', 'dayweek')])

def _date_time_match ( cron , ** kwargs ) : return all ( [ ( ( kwargs . get ( x ) is None ) or ( cron [ x ] == str ( kwargs [ x ] ) ) or ( ( str ( kwargs [ x ] ) . lower ( ) == 'random' ) and ( cron [ x ] != '*' ) ) ) for x in ( 'minute' , 'hour' , 'daymonth' , 'month' , 'dayweek' ) ] )
returns true if the minute .