def owns_registers?
      if regs
        regs.is_a?(Origen::Registers::RegCollection) && !regs.empty?
      else
        false
      end
    end
def owns_registers?
      if regs
        regs.is_a?(Origen::Registers::RegCollection) && !regs.empty?
      else
        false
      end
    end
def owns_registers? if regs regs . is_a? ( Origen :: Registers :: RegCollection ) && ! regs . empty? else false end end
Returns true if the given sub block owns at least one register
Returns true if the given sub block owns at least one register