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: garden_policy.rb
    path of file: ./repos/OpenFarm/app/policies
    
    the code of the file until where you have to start completion: class GardenPolicy < ApplicationPolicy
  attr_reader :current_user, :garden

  def initialize(current_user, gar
    
  def show?
    if @current_user
      (not @garden.is_private?) ||
          @current_user == @garden.user ||
          @current_user.admin
    else
      not @garden.is_private?
    end