Just return false for non-object arguments.
Merge pull request #1 from timoxley/non-object-args

Just return false for non-object arguments.