@staticmethod<EOL><INDENT>def is_valid(data):<DEDENT>
return bool(data) andisinstance(data, dict) andbool(data.get("<STR_LIT>")) andisinstance(data.get('<STR_LIT>'), dict)<EOL>
Checks if the input data is a Swagger document

:param dict data: Data to be validated
:return: True, if data is a Swagger