code: def setup(self):
          
          result = super(BranchDirector, self).setup()
          if result is None:
              try:
                  self.check_actors()
              except Exception, e:
                  result = str(e)
          return result
docs: Performs some checks.
  
          :return: None if successful, otherwise error message.
          :rtype: str