We can determine it by distillation. Heat the sample till it starts boiling and starts vaporizing and maintain the temperature till the solution is either completely turned into vapor meaning its pure or leaves a solute behind meaning its a solution.