Checks if a profile exists