def file_is_built_contract(filename: str):
    """Verify from the filename whether a file may contain compiled contract
    information.

    :param filename: name of the file (excluding directory)
    :return: True if the filename is valid for a solitude compiled contract
        output filename.
    """
    return filename.startswith("build_") and filename.endswith(".json")