Impersonating a police officer

I have a question for those who are police officers or are with one who would know this information. I recently came across a video of a woman cursing and yelling at these children to get off the playground because they were too old to be there and that she was a police officer and that she could arrest them and all this stuff it turns out that she wasn’t a officer she was just claiming to be one. My question is if someone tells you they’re a officer but you’re not completely sure if they are and they are just claiming to be one, is there a way that you can confirm that they are or are you able to call anyone to be sure, and can you get them into trouble for impersonating a officer? I tried googling it but it mainly only came up with people who pull you over while impersonating a officer I want to know about just verbal impersonation