@classmethod
def is_mine(cls, pathname, light=False):
    """Check if it can handle the report file.

        :param str pathname: Path to the report directory.
        :param bool light: `True` to only parse the ranking of the findings from the report.

        :raises IOError: when the report file cannot be found.
        :raises OSError: when the report file cannot be found.

        :return: `True` if it supports the report, `False` otherwise.
        :rtype: :class:`bool`

        """
    metadatafile = cls._recursive_find(pathname, cls._metadatafile)
    if not metadatafile:
        return False
    metadatafile = metadatafile[0]
    reportfile = cls._recursive_find(pathname, cls._reportfile)
    if not reportfile:
        return False
    reportfile = reportfile[0]
    try:
        metadata_stream, report_stream = cls.handle_file(metadatafile,
            reportfile)
    except TypeError:
        return False
    return True
