def __check_vlan_member(duthost, vlan_id, vlan_member, removed=False):
    """
    Check that VLAN member is available in redis-db

    Args:
        duthost: DUT host object
        vlan_id: VLAN id
        vlan_member: VLAN member
        removed: Bool value which show availability of member in VLAN

    Returns:
        Bool value which confirm availability of VLAN member in redis-db
    """
    vlan_name = 'Vlan{}'.format(vlan_id)
    out = duthost.shell('redis-cli -n 4 keys "VLAN_MEMBER|{}|{}"'.format(vlan_name, vlan_member))["stdout"]
    if removed:
        return vlan_name not in out
    return vlan_name in out