Just return false for non-object arguments.

Found it surprising that this threw for non-object arguments.