import mmap


def contains_file_serial_id(file_name):
    """
    Check if the given file contains a serialVersionUID.
    :param file_name: name of the file to check
    :type file_name: str
    :return: True if the file contains a serialVersionUID
    :rtype bool
    """
    with open(file_name, 'rb', 0) as file, \
            mmap.mmap(file.fileno(), 0, access=mmap.ACCESS_READ) as file_contents:
        return file_contents.find(b'serialVersionUID') != -1