1. We define a function is_armstrong that takes a number as input.
2. We store the original number and initialize a sum variable.
3. We loop while the number is greater than 0.
4. Inside the loop, we extract the last digit and add its power to the sum.