is_arm function

Detect whether the system is ARM-based