Returns ``True`` if `obj` has a ``to_dict()`` method.
(obj)
no outgoing calls
no test coverage detected