When the goal of that function is to think (a notoriously human behavior), it's perfectly understandable to anthropomorphize it.