def has_visible_scopes?(resource)
      resource.participatory_space.scopes_enabled? &&
        resource.scope.present? &&
        resource.participatory_space.scope != resource.scope
    end
def has_visible_scopes?(resource)
      resource.participatory_space.scopes_enabled? &&
        resource.scope.present? &&
        resource.participatory_space.scope != resource.scope
    end
Checks if the resource should show its scope or not.
 resource - the resource to analize

 Returns boolean.