Implement `factor?`