SDKPHP-7 Replace empty() check for UID