@staticmethod
def _require_callback(callback):
    """Require that callback is callable and is not None

        :raises: TypeError

        """
    if not callable(callback):
        raise TypeError('Callback must be callable, but got %r' % (callback,))
