

def isvalidinterface(value):
    match = re.match('([EPVLM][a-z-C]+)', value)
    return (value and (match.group() in VALID_INTERFACES))

dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/interfaces.py isvalidinterface/VarMisuse@23/38 `match`->`value`