Merge the is_... functions into set_properties fn