original_docstring: 
      Check availability of VLAN in redis-db
  
      Args:
          duthost: DUT host object
          vlan_id: VLAN id
          removed: Bool value which show availability of VLAN
  
      Returns:
          Bool value which confirm availability of VLAN in redis-db
      
docstring: Check availability of VLAN in redis-db
docstring_tokens: Check availability of VLAN in redis - db
code: def __check_vlan(duthost, vlan_id, removed=False):
      """
      Check availability of VLAN in redis-db
  
      Args:
          duthost: DUT host object
          vlan_id: VLAN id
          removed: Bool value which show availability of VLAN
  
      Returns:
          Bool value which confirm availability of VLAN in redis-db
      """
      vlan_name = 'Vlan{}'.format(vlan_id)
      out = duthost.shell('redis-cli -n 4 keys "VLAN|{}"'.format(vlan_name))["stdout"]
      if removed:
          return vlan_name not in out
      return vlan_name in out
code_tokens: def __check_vlan ( duthost , vlan_id , removed = False ) : vlan_name = 'Vlan{}' . format ( vlan_id ) out = duthost . shell ( 'redis-cli -n 4 keys "VLAN|{}"' . format ( vlan_name ) ) [ "stdout" ] if removed : return vlan_name not in out return vlan_name in out
short_docstring: Check availability of VLAN in redis-db
short_docstring_tokens: Check availability of VLAN in redis - db
comment: """
      Check availability of VLAN in redis-db
  
      Args:
          duthost: DUT host object
          vlan_id: VLAN id
          removed: Bool value which show availability of VLAN
  
      Returns:
          Bool value which confirm availability of VLAN in redis-db
      """