The is_object method returns whether the value is a JSON object.
is_object
is_object()
(Boolean). Returns true if the value is a JSON object, false otherwise.
true
false