function is_pe checks if a file is a PE one or not (TODO: test it)