if (parentCustomerLookup != null && parentCustomerLookup[0].entityType == "account") { endpoint security definition endpoint security comparison