That line does actually seem redundant, only Aliens use attack_alien so a check for aliens after it wouldn't be needed I assume.