parameters: (self, key: str)
return_statement: return SecurityLevel.NONE
docstring: Lookup the security level of the given ticket.
  
          :param key: Key of ticket to query.
          :return: Security level of the given ticket.
docstring_summary: Lookup the security level of the given ticket.
docstring_tokens: Lookup the security level of the given ticket .
function: def get_ticket_security_level(self, key: str) -> SecurityLevel:
          """
          Lookup the security level of the given ticket.
  
          :param key: Key of ticket to query.
          :return: Security level of the given ticket.
          """
          ticket = self._jira.issue(key)
          if hasattr(ticket.fields, "security"):
              security_level = ticket.fields.security
              return SecurityLevel(security_level.name)
          return SecurityLevel.NONE
function_tokens: def get_ticket_security_level ( self , key : str ) -> SecurityLevel : ticket = self . _jira . issue ( key ) if hasattr ( ticket . fields , "security" ) : security_level = ticket . fields . security return SecurityLevel ( security_level . name ) return SecurityLevel . NONE