def testStepHasAttachment(self, step_index):
    '\n        Checks if the a test step has attachments\n\n        :param step_index: The test step index\n        :return: True/False\n        :rtype: boolean\n        '
    if (self.testStepResults is None):
        return False
    if (self.testStepResults.TestStepResult[step_index].attachments is not None):
        return True
    return False
Checks if the a test step has attachments

:param step_index: The test step index
:return: True/False
:rtype: boolean
def testStepHasAttachment(self, step_index):
    '\n        Checks if the a test step has attachments\n\n        :param step_index: The test step index\n        :return: True/False\n        :rtype: boolean\n        '
    if (self.testStepResults is None):
        return False
    if (self.testStepResults.TestStepResult[step_index].attachments is not None):
        return True
    return False