save whether or not function is device function