def is_successful_pass(event, next_event):
    """
    check if a successuful pass
    """
    if 'Not accurate' not in event['taglist'] and event['team'] == next_event['team']:
        return True
    return False