public function isIdentityEmpty()
    {
        return empty($this->gender) && empty($this->firstName) && empty($this->lastName);
    }
public function isIdentityEmpty()
    {
        return empty($this->gender) && empty($this->firstName) && empty($this->lastName);
    }
Returns whether or not the identity is empty.

@return bool