import threading


def find_active_thread(name):
    """
    urls:
    - stackoverflow.com/questions/9868653/find-first-list-item-that-matches-criteria
    - https://docs.python.org/2/library/threading.html#threading.enumerate

    :param name:
    :type name: str
    :return:
    :rtype: Thread

    """
    try:
        list_actives_threads = threading.enumerate()
        return next(thread for thread in list_actives_threads if thread.getName() == name)
    except StopIteration:
        return None