def isfile(value):
    return vol.IsFile('not a file')(value)
Validate that the value is an existing file.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/helpers/config_validation.py/isfile