new boolean function in client_.js based off the old function