Add helper to determine if a syscall is fully emulated.

#603