Switching from strlen to isset