docs: def get_assigned_object(self, object_type=None):
          """Return the current assigned object UUID.
  
          :param object_type: If it's specified, returns only if the PID
              object_type is the same, otherwise returns None. (default: None).
          :returns: The object UUID.
          """
          if object_type is not None:
              if self.object_type == object_type:
                  return self.object_uuid
              else:
                  return None
          return self.object_uuid