'This method was created to remove some false positives.
:return: True if path_disclosure_string is the value of an attribute
inside a tag.
Examples:
path_disclosure_string = \'/home/image.png\'
response_body = \'....<img src="/home/image.png">...\'
return: True
path_disclosure_string = \'/home/image.png\'
response_body = \'...<b>Error while checking /home/image.png</b>...\'
return: False'

def _is_attr_value(self, path_disclosure_string, response):

    for tag in mp_doc_parser.get_tags_by_filter(response, None):
        for value in tag.attrib.itervalues():
            if (path_disclosure_string in value):
                return True
    return False
