test for whether profile is public