def METHOD_NAME(self, dir_path):
    """
    Given the full path of a directory, decide if all of the files in it should be
    excluded from the scan.
    :param dir_path: the path of the directory, relative to the root directory
                     being scanned.  The path will never end in '/'.
    :type dir_path: str
    :return: True if excluded.
    """
    return self._exclude_dir_set.matches(dir_path)