Protein in urine?

Is foamy urine signs of excess protein? I read online that it was but just wanted to get some other opinions. 😊