src/Resources/BaseDbTableResource.php
protected static function containsIdFields($record, $id_field = null)
    {
        if (empty($id_field)) {
            return false;
        }

        if (!is_array($id_field)) {
            $id_field = array_map('trim', explode(',', trim($id_field, ',')));
        }

        foreach ($id_field as $field) {
            $temp = array_get($record, $field);
            if (empty($temp)) {
                return false;
            }
        }

        return true;
    }
protected static function containsIdFields($record, $id_field = null)
    {
        if (empty($id_field)) {
            return false;
        }

        if (!is_array($id_field)) {
            $id_field = array_map('trim', explode(',', trim($id_field, ',')));
        }

        foreach ($id_field as $field) {
            $temp = array_get($record, $field);
            if (empty($temp)) {
                return false;
            }
        }

        return true;
    }
@param      $record
@param null $id_field

@return bool