Or faction permissions(or personal ownership if implemented) would let you see your ship.
But, jamming drones.
If you don't have a good scanner, nice knowing you.
Even then, you're still going to have a very bad time if you can tell logic when the cloak/jam is on/off.
If you could(dunno if it works on docked entities) set up a bunch of ships with scanners triggered by logic, then any cloak/jam ship would have a very hard time.
Which means that given the current way both scanners and cloak/jam work, they're all off limits for logic.