code: def prepare(self):
          
          try:
              assert(type(self.sender) is Channel)
              assert(type(self.receiver) is Channel)
              return True
          except:
              return False
docs: does some basic validation