class JSON::TruffleRuby::Generator::State

def check_circular?

otherwise returns false.
Returns true, if circular data structures are checked,
def check_circular?
  !@max_nesting.zero?
end