pi swap question

friend of mine has a crown vic engine complete with under 30,000 on it for like $800 but i didnt want to snag it if it was worth dirt,hell i might just pull my 45,000 mile motot and swap it all to a 2001