Is this colonialism, or even imperialism?

Was it self-defense for the Spanish to conquer and colonize the Aztec empire?