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: populate_issues_job.rb
    path of file: ./repos/CodeTriage/app/jobs
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class PopulateIssuesJob < RepoBasedJob
  def perform(repo)
    @repo = repo
    
  def pr_attached_with_issue?(pull_request_hash)
    # issue_hash['pull_request'] has following structure
    #    pull_request: {
    #                    html_url: null,
    #                    diff_url: null,
    #                    patch_url: null
    #                  }
    # When all the values are nil, PR is not attached with the issue
    return false if pull_request_hash.blank?
    pull_request_hash.values.uniq != [nil]
  end