test `ifconfig $1|grep -o RUNNING` && echo true || echo false