make sure is_active always returns boolean