def _instance_sanity_check(self, instance):
verifyObject(ICloudInstance, instance)<EOL>_TEST_STRING = b"<STR_LIT>"<EOL>output = check_output([<EOL>"<STR_LIT>", "<STR_LIT>", instance.key_filename,<EOL>"<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>" % (instance.username, instance.ip_address),<EOL>"<STR_LIT>", _TEST_STRING])<EOL>self.assertIn(_TEST_STRING, output)<EOL>
Verify that the instance implements the ``ICloudInstance`` interface,
and the information it provides can be used to ssh to the instance.