Get the data from UPayload
if not payload.value:
msg = "The data in UPayload should be Data::Value"
logging.debug(f"{msg}")
raise UStatus(code=UCode.INVALID_ARGUMENT, message=msg)
payload.value may be empty, so it is better to check with
if payload.value is None:
Get the data from UPayload
payload.value may be empty, so it is better to check with