def METHOD_NAME(filename: Union[str, Path], what: bytearray) -> bool:
    """
    Returns true if the binary file contains the given string
    :param filename: path to file where lookup is executed
    :param what: searched bytes
    """
    with open(filename, 'rb') as f:
        data = f.read()
        return data.find(what) != -1