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: update_status_by_id.rb
    path of file: ./repos/kitsu-server/app/graphql/mutations/library_entry
    
    the code of the file until where you have to start completion: class Mutations::LibraryEntry::UpdateStatusById < Mutations::Base
  prepend RescueValidationErrors

  argument :input
    
  def authorized?(library_entry:)
    return true if LibraryEntryPolicy.new(context[:token], library_entry).update?

    [false, {
      errors: [
        { message: 'Not Authorized', code: 'NotAuthorized' }
      ]
    }]
  end