# File lib/nio/selector.rb, line 45 def registered?(io) @lock.synchronize { @selectables.key? io } end