Yes! The surrounding water molecules attract polar amino acids to the outside of the protein, because they are hydrophilic. Nonpolar amino acids are hydrophobic-- less attracted to the polar water molecules-- and they tend to get moved away into the interior of the folded protein, forming its core.