Just `if ( ! $this->identifier)` is enough even.