Replace isset with !empty.