You can use `$value === ''` to check for empty string instead of using `strlen`.