Check to make sure the object is callable.

Update: Also add support for -l, which lists keys.
dicts have a keys() method :)