Add hasObject and getFirstObject function to GetOutput