checking if view is obgradientview