I'd suggest to use isset() here