# File lib/puppet/util/pidlock.rb, line 10
10:   def locked?
11:     clear_if_stale
12:     File.exists? @lockfile
13:   end