Determining random lasing action