def METHOD_NAME(self, **kwargs):
    id = kwargs.get("id", None)
    filters = kwargs.get("filters", None)
    if id is not None:
        self.opencti.log("info", "Reading vocabulary {" + id + "}.")
        query = (
            """
                    query Vocabulary($id: String!) {
                        vocabulary(id: $id) {
                            """
            + self.properties
            + """
                }
            }
        """
        )
        result = self.opencti.query(query, {"id": id})
        return self.opencti.process_multiple_fields(result["data"]["vocabulary"])
    elif filters is not None:
        result = self.list(filters=filters)
        if len(result) > 0:
            return result[0]
        else:
            return None
    else:
        self.opencti.log(
            "error", "[opencti_vocabulary] Missing parameters: id or filters"
        )
        return None