def is_vlan_in_primary_vea_addl_vlans(vlanid, primary_sea):
    """
    This API is used to find out if the supplied VLANID exists in the SEA's
    primary VEA's additional VLANIDs. A True is returned if the VLAN is found.

    :param vlanid: The vlan to search
    :param primary_sea: The SEA to search the VLANs.
    :returns: True or False.
    """

    if primary_sea:
        addl_vlans = primary_sea.get_primary_vea().addl_vlan_ids
        if int(vlanid) in addl_vlans:
            return True
    return False