def METHOD_NAME(self, filename: str, content: str) -> bool:
    """Checks a file for double-slash statements (``/r/`` and ``/u/``).
    :param filename: The name of the file to check & replace.
    :param content: The content of the file.
    :returns: A boolean with the status of the check.
    """
    if os.path.join("praw", "const.py") in filename:  # fails due to bytes blocks
        return True
    new_content = re.sub(r"(^|\s)/(u|r)/", r"\1\2/", content)
    # will only replace if the character behind a /r/ is a  whitespace character or
    # the start of a line
    if content == new_content:
        return True
    if self.replace:
        with open(filename, "w") as fp:
            fp.write(new_content)
        print(
            f"{filename}: Replaced all instances of '/r/' and/or '/u/' to"
            " 'r/' and/or 'u/'."
        )
        return True
    print(
        f"{filename}: This file contains instances of '/r/' and/or '/u/'."
        " Please change them to 'r/' and/or 'u/'."
    )
    return False