Repository URL to install this package:
|
Version:
3.0.172 ▾
|
tvault-contego-common
/
home
/
tvault
/
.virtenv
/
lib
/
python2.7
/
site-packages
/
pika
/
utils.py
|
|---|
"""
Non-module specific functions shared by modules in the pika package
"""
import collections
def is_callable(handle):
"""Returns a bool value if the handle passed in is a callable
method/function
:param any handle: The object to check
:rtype: bool
"""
return isinstance(handle, collections.Callable)