The implementation of this function is not entirely accurate as it only checks if the given value has a
property called "toString" that is a function (but cannot check the signature). This relies on the convention of not
naming methods toString that don't have the standard signature).
Reports whether the given value implements the Stringer interface. Acts as a typeguard.