[IMP] base: Extract check_group function into a method
[IMP] base: Extract check_group function into a method

Possibility to inherit _check_group to have groups in attribute
In studio, we need to avoid to delete groups node

hip-odoo/odoo,dfang/odoo,ygol/odoo,dfang/odoo,ygol/odoo,hip-odoo/odoo,ygol/odoo,hip-odoo/odoo,ygol/odoo,hip-odoo/odoo,hip-odoo/odoo,dfang/odoo,ygol/odoo,dfang/odoo,dfang/odoo,hip-odoo/odoo,ygol/odoo,ygol/odoo,dfang/odoo