def _is_vlan_id(text):
    try:
        number = int(text)
    except __HOLE__:
        return False

    return 1 <= number <= 4093
dataset/ETHPy150Open internap/fake-switches/fake_switches/dell/command_processor/enabled.py/_is_vlan_id