Speeded up is_active()