From 3878788da4e4c7cd0a7f32c1e732a4a1d2b648a1 Mon Sep 17 00:00:00 2001 From: Chris Lenk Date: Thu, 28 Jan 2021 22:54:52 -0500 Subject: [PATCH] Update is_sro docstring --- stix2/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stix2/utils.py b/stix2/utils.py index 1262b4b..3e272f8 100644 --- a/stix2/utils.py +++ b/stix2/utils.py @@ -444,7 +444,7 @@ def is_sro(value, stix_version=stix2.version.DEFAULT_VERSION): """ Determine whether the given object, type, or ID is/is for an SRO of the given STIX version. If value is a type or ID, this just checks whether - the type is an SRO in the given STIX version. If a mapping, *simple* STIX + the type is "sighting" or "relationship". If a mapping, *simple* STIX version inference is additionally done on the value, and the result is checked against stix_version. It does not attempt to fully validate the value.