implement check for devtools