Return true if the object is an instance method.
(object)
| 186 | return isinstance(object, type) |
| 187 | |
| 188 | def ismethod(object): |
| 189 | """Return true if the object is an instance method.""" |
| 190 | return isinstance(object, types.MethodType) |
| 191 | |
| 192 | def ispackage(object): |
| 193 | """Return true if the object is a package.""" |
no outgoing calls
searching dependent graphs…