code: def handler(self):
          
          if hasNTLM:
              if self._handler is None:
                  passman = request.HTTPPasswordMgrWithDefaultRealm()
                  passman.add_password(None, self._parsed_org_url, self._login_username, self._password)
                  self._handler = HTTPNtlmAuthHandler.HTTPNtlmAuthHandler(passman)
              return self._handler
          else:
              raise Exception("Missing Ntlm python package.")
docs: gets the security handler for the class