add advisory_lock_exists? to ActiveRecord instances