'Check that it is ok to accept a stream request.
Controlling stream acceptance can be done via either:
- setting \'auto_accept\' to False in the plugin
configuration. The default is True.
- setting \'accept_stream\' to a function which accepts
an Iq stanza as its argument, like this one.
The accept_stream function will be used if it exists, and the
auto_accept value will be used otherwise.'

def accept_stream(self, iq):

    return True
