@staticmethod
def is_using_deprecated_format(text):
    'Indicates if the text string is using the deprecated intent format.\n\n        In the deprecated format entities where annotated using `[name=Rasa]`\n        which has been replaced with `{"name": "Rasa"}`.'
    return ((text.find('[') != (- 1)) and ((text.find('{') == (- 1)) or (text.find('[') < text.find('{'))))
Indicates if the text string is using the deprecated intent format.

In the deprecated format entities where annotated using `[name=Rasa]`
which has been replaced with `{"name": "Rasa"}`.
@staticmethod
def is_using_deprecated_format(text):
    'Indicates if the text string is using the deprecated intent format.\n\n        In the deprecated format entities where annotated using `[name=Rasa]`\n        which has been replaced with `{"name": "Rasa"}`.'
    return ((text.find('[') != (- 1)) and ((text.find('{') == (- 1)) or (text.find('[') < text.find('{'))))