There's a "Verify Apps" checkbox that I've seen that purportedly does this. I think the first time you install an app from outside the play store the OS will prompt you to enable this checkbox.
I've never seen such a prompt when install third party stuff, no. There might be an 'are you sure?' dialog.