code: def create(cls, name, situation_context, attacker=None, target=None,
                 severity='information', situation_type=None, description=None,
                 comment=None):
          
          try:
              json = {
                  'name': name, 'comment': comment,
                  'description': description,
                  'situation_context_ref': situation_context.href,
                  'attacker': attacker, 'victim': target,
                  'severity': _severity_by_name(severity)}
              
              element = ElementCreator(cls, json)
              tag = situation_type or SituationTag('User Defined Situations')
              tag.add_element(element)
              return element
              
          except ElementNotFound as e:
              raise CreateElementFailed('{}. Inspection Situation Contexts require SMC '
                  'version 6.5 and above.'.format(str(e)))
docs: Create an inspection situation.
          
          :param str name: name of the situation
          :param InspectionSituationContext situation_context: The situation
              context type used to define this situation. Identifies the proper
              parameter that identifies how the situation is defined (i.e. regex, etc).
          :param str attacker: Attacker information, used to identify last packet
              the triggers attack and is only used for blacklisting. Values can
              be packet_source, packet_destination, connection_source, or
              connection_destination
          :param str target: Target information, used to identify the last packet
              that triggers the attack and is only used for blacklisting. Values
              can be packet_source, packet_destination, connection_source, or
              connection_destination
          :param str severity: severity for this situation. Valid values are
              critical, high, low, information
          :param str description: optional description
          :param str comment: optional comment