use cp_is_active not is_active for domain active attr