def is_log_handler(logger, handler):
    """
    Determines if a given (named) Handler is assigned to a Logger.

    :param logging.Logger logger: a logger object
    :param logging.Handler handler: a handler object
    :returns: result
    :rtype: bool
    """
    found = False
    if handler.name is None:
        logger.warning("Request to validate Handler with no name assigned to Logger may result in duplicate Handlers")
    for h in logger.handlers:
        if h.name == handler.name:
            found = True
            break
    return found