def isvalidinterface(value):
    match = re.match(r'([EPVLM][a-z-C]+)', value)
    return match and match.group() in VALID_INTERFACES
dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/interfaces.py/isvalidinterface/original