remove import and correct is_installed function