def validate_tls(tls, **overrides):
    if not tls:
        return tls
    tls_copy = tls.copy()
    for arg in ('keyfile', 'certfile', 'ca_certs'):
        if arg in tls_copy:
            open(tls_copy[arg], 'r').close()
    tls_copy.update(overrides)
    return tls_copy


# vim:et:fdm=marker:sts=4:sw=4:ts=4
Given a dictionary that could be used as keyword arguments to
dataset/ETHPy150Open slimta/python-slimta/slimta/util/__init__.py/validate_tls