By adding a core you increase the stiffness, bending and buckling capacity of the shape i.e. Ix, Zx and rx/ry with very little weight penalty so a lot of the time its a case of if you can then why not!
If areas of the member are in compression then the increased section properties help in compression buckling/deformation