You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: member_presenter.rb
    path of file: ./repos/gitlabhq/app/presenters
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class MemberPresenter < Gitlab::View::Presenter::Delegated

    
  def valid_level_roles
    return access_level_roles unless member.highest_group_member

    access_level_roles.reject do |_name, level|
      member.highest_group_member.access_level > level
    end
  end